SSH to Compute Node on Remote Server

Answered

I am trying to connect PyCharm to a remote server with SSH. I’m trying this in Settings > Tools > SSH Configurations. I am able to successfully SSH into the login node, i.e. when I press the ‘Test Connection’ button, a popup message says ‘Successfully Connected’. 

However, when I try to connect to a compute node with ProxyJump, I get the error “Cannot connect to remote host: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange”

I am able SSH to the compute node from my local Terminal, by making use of ProxyJump in my ~/users/.ssh/config file. And also able to do it in VS Code, with an extension that also parses my local  ~/users/.ssh/config file. However, thus far unable in PyCharm.

And if it helps

1 - using MacOS Sonoma 14.3.1, and trialing PyCharm 2024.2.1 Professional 

2 - Under Advanced Settings > SSH, I set Configuration Files Parser to ‘OpenSSH’

3 - Tried putting relevant screenshots, in particular of the idea.log file 

 

0
1 comment

We have plans to support ProxyJump on one of the future releases - Check out the feature request and comment https://youtrack.jetbrains.com/issue/IJPL-63089/ProxyJump-not-supported#focus=Comments-27-10098062.0-0

There is also a workaround with ProxyCommand

0

Please sign in to leave a comment.