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.
- Open Terminal/PowerShell
- Enter the below command to see if you have an already existing SSH key.
ls ~/.ssh/
You should see \*.pub file here.
you can use below command to read the file.
cat ~/.ssh/id_rsa.pub
The file name might vary but will be inside the ~/.ssh/ directory.
Copy the entire contents of the file and paste them into settings page SSH section.
If you receive an error that ~/.ssh/ 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 ed25519
Copy SSH Keys you just generated from here
cat ~/.ssh/id_ed25519.pub