Jarvislabs.ai

Setup SSH

Connect to Jarvislabs.ai instance through SSH.

You can connect to Jarvislabs.ai using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.

Checking for existing SSH keys

Before you generate an SSH key, you can check to see if you have any existing SSH keys. Try the below steps.

  1. Open Terminal/Poweshell
  2. Enter cat ~/.ssh/id_rsa.pub to see if existing SSH keys are present.
$ cat ~/.ssh/id_rsa.pub
# Should output your public key.
  1. Copy the output of the above command and paste here. Tip: If you receive an error that ~/.ssh/id_rsa.pub doesn't exist, you do not have an existing SSH key pair in the default location. You can create a new SSH key pair by following the next steps.

Creating SSH keys

Generate an SSH key pair using the below command from your system terminal or PowerShell.

ssh-keygen -t rsa -b 4096

Tip: If you have chosen a custom location to store your SSH key, then do not forget to add the location as -i path while connecting to Jarvislabs.ai instances.

ssh -i /path/to/your/key/id_rsa -P port_number domain_name

Interested in learning more about SSH? Check out the amazing docs on GitHub.

Adding SSH keys to JarvisLabs The API keys section shows all the SSH keys you have in your account. You can add/delete the SSH keys from here.

Adding SSH keys to JarvisLabs

The API keys section shows all the SSH keys you have in your account. You can add/delete the SSH keys from here.

Jarvislabs.ai