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.
- Open Terminal/Poweshell
cat ~/.ssh/id_rsa.pubto see if existing SSH keys are present.
$ cat ~/.ssh/id_rsa.pub
# Should output your public key.
- Copy the output of the above command and paste here.
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
If you have choosen 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 in GitHub.