JetBrains CodeCanvas 2024.2 Help

Access Dev Environment via SSH

Sometimes, you might need to access your dev environment directly via SSH. For example, for some management tasks, for running existing deployment scripts, for debugging purposes, and so on.

Prerequisites

  • (Windows) You've enabled the SSH agent service. Learn how to do this

  • You have SSH keys set up: the public key is added to your CodeCanvas account, and the private key is added to the SSH agent on your local machine. Learn how to perform such setup

  • The dev environment template used to create the dev environment must have the SSH access enabled. Learn more

  1. Start the dev environment you want to access.

  2. In CodeCanvas, click the CodeCanvas logo in the upper-left corner. On the page, find the dev environment you want to access.

  3. In the dev environment menu, click SSH connection.

    SSH connection to a dev environment
  4. In the dialog, copy the connection snippet. It should look like this:

    ssh -J ef5ccc0162b644b38user@mycodecanvas.example.com:63101 -o ForwardAgent=yes -o HostKeyAlias=cunning-puffin -p 63645 root@127.0.0.1
  5. Run the copied command on your local machine.

Last modified: 04 September 2024