sidebar_position | title | sidebar_label |
---|---|---|
1.9 |
VSCode with Sessions |
VSCode with Sessions |
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 -b 2048 -t rsa -f ~/.ssh/grid_ssh_creds -q -N ""
# add the key to the ssh-agent (to avoid having to explicitly state key on each connection)
# to start the agent, run the following
eval $(ssh-agent)
# then add the key
ssh-add ~/.ssh/grid_ssh_creds
# add the keys to grid
grid ssh-keys add key_1 ~/.ssh/grid_ssh_creds.pub
grid session create --name fun-bear-259
grid session ssh fun-bear-259
Clicking on it will open VSCode in the remote IxNode. You can use VSCode with any of its features.
:::note You can clone any Github repositories into a Session using the HTTPS cloning method (SSH will not work). :::