Step 0: Create an SSH key
Create an SSH key from the computer you'd like to connect from (skip this step if you already have a key)
# make the ssh key (if you don't have one)
ssh-keygen -t ed25519 -C "email@example.com"
ssh-keygen -b 2048 -t rsa -q -N ""
Step 1: Add the SSH key
Here we assume to have SSH keys named ed25519.pub, which are the default used by the command above.
We're going to add the key and name it lit_key
# add the keys to grid
grid ssh-keys add lit_key ~/.ssh/id_ed25519.pub
grid ssh-keys add key_1 ~/.ssh/id_rsa.pub
If you go to Grid settings, you'll see SSH keys you've added to Grid
Step 2: Launch the session
Use the CLI or UI to create and launch a session
grid session create --instance_type 2_m60_8gb --name happy-owl-123
Step 3: Login to the interactive session
grid session ssh happy-owl-123
grid session ssh, you can also use direct
ssh commands, for example to port forward remote or local ports,
as well as
sftp if needed to transfer any files.
You can clone any Github repositories into a Session using the HTTPS cloning method (SSH method of cloning will not work).