Each Plot notebook is backed by a dedicated compute instance and offers SSH access for direct connection to the underlying environment.

Plots use public SSH keys to authorize which machine is allowed to connect to Plots.
1

Open the terminal on your personal computer.

2

Verify that you have a public SSH key on your computer by printing the key:

$ cat ~/.ssh/id_rsa.pub

If you receive an error message saying that id_rsa.pub doesn’t exist, it means that your computer doesn’t have a public SSH key.

Generate one using ssh-keygen: $ ssh-keygen

3

Copy the public SSH key from your computer.

Copy the key with: $ pbcopy < ~/.ssh/id_rsa.pub

4

Go back to Latch, then click Account Settings > Developer Settings.

5

Paste in your SSH key.

Make sure that there is no extra line or space at the end of the SSH key.

Latch only authorizes access to users whose public SSH keys are added here. If you have multiple developers on the team who want to access the same Pod, it is recommended that you add their keys here. Latch supports up to 50 keys for each workspace.

6

Copy the SSH command from your Plot notebook

Navigate to your Plot notebook. Click on the Dev Toggle to turn on developer settings. Then, click on the SSH icon to copy the SSH command to your clipboard.

You can only SSH into a Pod if it is running.

Troubleshooting

Below are a few common errors when trying to connect to Pods via SSH access.