Untitled
  • Introduction
    • Overview
    • Use Cases
    • Meet the Team
    • Tokenomics
    • Roadmap
  • Features
    • Revenue Sharing
    • Rent GPU Nodes with Mesh AI
    • Lend GPU Nodes with Mesh AI
    • On-Demand GPU Nodes with Mesh AI
  • Lending
    • Overview
    • Get Started
  • Renting
    • Get started
  • Framework
    • High-Performance Infrastructure at Mesh AI
    • Software Architecture at Mesh AI
    • Task Workflow on Mesh AI
    • GPU Lending on Mesh AI
  • Page
Powered by GitBook
On this page
  • Setting Up Your Node for Lending on Mesh AI
  • Pre-Setup: SSH Server Configuration
  • Requirements
  • Step 1: Installing SSH Server
  • Step 2: Generating SSH Key Pair
  • Step 3: Configuring SSH Key
  • Step 4: Enabling Root Login via SSH
  • Step 1: Initial Setup
  • Provide SSH Details: For secure communication, enter the necessary SSH details:
  1. Lending

Get Started

Setting Up Your Node for Lending on Mesh AI

Becoming a node provider on Mesh AI involves a clear and secure setup process. Follow these steps to prepare your node for our network.

Pre-Setup: SSH Server Configuration

Before proceeding with the main setup for lending on Mesh AI, it's crucial to establish a secure SSH server. This setup will involve installing the SSH server, generating a new ED25519 key pair, and configuring it as an allowed key for the root user. Follow these steps to complete the pre-setup stage.

Requirements

Ensure you have the following before starting:

· A system running Debian/Ubuntu.

· An NVIDIA GPU with CUDA support.

· Sudo privileges or root access.

Step 1: Installing SSH Server

First, update your package index and install the OpenSSH server package:

sudo apt-get update
sudo apt-get install openssh-server -y

After the installation, the SSH service should start automatically. You can verify it’s running with:

sudo systemctl status ssh

Step 2: Generating SSH Key Pair

Next, generate a new ED25519 SSH key pair for secure authentication:

ssh-keygen -t ed25519 -a 100 -f ~/.ssh/id_ed25519 -C "root@meshai"

When prompted, press enter to leave it empty. This command generates a new ED25519 key pair stored in the ~/.ssh/ directory.

Step 3: Configuring SSH Key

For the root user to use the new key pair, add the public key to the authorized_keys file:

mkdir -p ~/.ssh
echo $(cat ~/.ssh/id_ed25519.pub) >> ~/.ssh/authorized_keys

Ensure correct permissions for the SSH directory and the authorized_keys file:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

Step 4: Enabling Root Login via SSH

Edit the SSH configuration file to permit root login with SSH keys:

sudo nano /etc/ssh/sshd_config

Find the PermitRootLogin line and modify it to:

PermitRootLogin prohibit-password

This setting allows root login only with SSH keys and not with passwords. After saving the changes, restart the SSH service to apply the new configuration:

sudo systemctl restart ssh

Your SSH server is now configured with a secure ED25519 key pair for the root user. You can now proceed with the rest of the Mesh AI lending setup process.

Ensure to keep your private key secure and accessible only by authorized users.

Step 1: Initial Setup

Name Your Node: Assign a unique name to your node for identification within the network.Set Your

Price: Decide your node's hourly rate that users will pay when renting your GPU resources. GPU Description: set the description

GPU Slot: set the slot

Price Per Hour (Eth): set the price in Ethereum

Price Per Hour (USDT): set the price in usdt

GPU Memory:

CPU Memory:

CPU Uploading:

GPU Downloading:

Provide SSH Details: For secure communication, enter the necessary SSH details:

SSH Hostname: The address for SSH connections to your node. SSH Port: The port number used for SSH connections (default is 22). SSH Username: The username for SSH login. SSH Private Key: Your SSH private key for secure access.

PreviousOverviewNextRenting

Last updated 8 months ago