Create an SSH connection
Once you run a workspace, you can fully leverage the development environment using SSH.
Create SSH Key
To enable SSH connection, you first need a SSH key pair. Once you obtained a public key for your account and workspace instance, you can connect it with a private key.
Add SSH public key to your VESSL account
You can add your SSH public key to your account using VESSL CLI. The added key will be injected into every running workspace you’ve created. You can manage your keys with vessl ssh-key list
and vessl ssh-key delete
commands.
Connect through CLI
If there are more than one running workspaces, you will be asked to select one to connect.
Setup VSCode Remote-SSH plugin config
You can also add your workspace to VSCode Remote-SSH plugin config. vessl workspace vscode
adds the information to ~/.ssh/config
so that the workspace can show up in the host list.
Manual Access
You can integrate with other IDEs and make SSH connection without VESSL CLI using the host, username, and port information. For example, the host is tcp.seoul.oracle-cluster.vessl.ai
, username vessl
, and port 30787
. The full SSH command is ssh -p 30787 -i ~/.ssh/id_ed25519 vessl@tcp.seoul.oracle-cluster.vessl.ai
.