Common Errors Using Interactive SSH Jobs

Wrong Port

If you attempt to connect with the wrong port number in the remote development, you may see an error in the IDE such as:

Failed to connect to IDE backend: Connection refused

Solution

Check the port number provided when you launched the interactive SSH job. Always use the exact port given in the job instructions.


Wrong Username or Host

If you mistype the username or the host, you will see an error such as:

Failed to connect to IDE backend: Connection refused

Solution

Ensure that you use the correct username and the correct host (bhn20). Double-check for typos in both username and host address.


Wrong Home Directory

Sometimes users mistakenly specify a wrong project directory:

Solution

Simply enter (~) as your project directory for your home directory, or a subdirectory, and proceed to connect.

Port Forward Session Closed

If you close the terminal where the port-forward command was running, your SSH connection might disconnect.

Solution

Keep the terminal running the port-forward session open while you are connected with SSH. If the session was closed, open a new one and repeat the steps from the submission command, for example - Running PyCharm Workspaces.