SSH Access
Last updated
Last updated
SSH provides a powerful set of features that enables you to be more productive with your development tasks. You can easily set up a secure and passwordless SSH connection to a workspace by selecting Open Tool -> SSH
. This will generate a secure setup command that can be run on any Linux or Mac machine to configure a passwordless & secure SSH connection to the workspace. Alternatively, you can also download the setup script and run it (instead of using the command).
The setup script only runs on Mac and Linux. Windows is currently not supported.
Just run the setup command or script on the machine from where you want to setup a connection to the workspace and input a name for the connection (e.g., my-workspace
). You might also get asked for some additional input during the process, e.g. to install a remote kernel if remote_ikernel
is installed. Once the passwordless SSH connection is successfully setup and tested, you can securely connect to the workspace by simply executing ssh my-workspace
.
Besides the ability to execute commands on a remote machine, SSH also provides a variety of other features that can improve your development workflow as described in the following sections.
After the tunnel is established, you can use your favorite VNC viewer on your local machine and connect to vnc://localhost:5000
(default password: vncpassword
). To make the tunnel connection more resistant and reliable, we recommend to use to automatically restart SSH tunnels in the case that the connection dies:
You can find port information on all the tools in the .
๐ For more information about port tunneling/forwarding, we recommend .
allows files and directories to be securely copied to, from, or between different machines via SSH connections. For example, to copy a local file (./local-file.txt
) into the /workspace
folder inside the workspace, execute:
๐ For more information about scp, we recommend .
allows files and directories to be securely copied to, from, or between different machines via SSH connections. For example, to copy a local file (./local-file.txt
) into the /workspace
folder inside the workspace, execute:
๐ For more information about scp, we recommend .
Besides copying and syncing data, an SSH connection can also be used to mount directories from a remote machine into the local filesystem via . For example, to mount the /workspace
directory of my-workspace
into a local path (e.g. /local/folder/path
), execute:
๐ For more information about sshfs, we recommend .