SSH Connection
Once you run a workspace, you can fully leverage the development environment using SSH.


1. 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.
2. Add SSH public key to your VESSL account
You can add your SSH public key to your account using VESSL CLI. The added keys will be injected to every running workspaces you created. You can manage your keys with vessl ssh-key list and vessl ssh-key delete commands.
3. Connect via CLI
If there are more than one running workspaces, you will be asked to select one to connect.
4. 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.



5. Manual Access
You can integrate with other IDEs and make SSH connection without VESSL CLI using the host, username, and port information. In this case, the host is tcp.apne2-prod1-cluster.savvihub.com, username vessl, and port 30787. The full SSH command is ssh -p 30787 -i ~/.ssh/id_ed25519 [email protected].
Last updated