JetBrains CodeCanvas 2024.1 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, find the dev environment on the My dev environments page.

  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: 17 May 2024