Cannot connect to SSH with Jump server

I want to use Remote Development but can not connect remote server.

Usually I use .ssh/config to access "MainServer".

I connect Jump-Server at first, then connect MainServer.

Can I set this setting in SSH Configurations in PyCharm?

Host Jump-Server
  User name
  Port 22
  HostName xxx
  IdentityFile ~/.ssh/key
    ServerAliveInterval 15

Host MainServer
  User name
  Port 22
  HostName xxx
  IdentityFile ~/.ssh/key
  ServerAliveInterval 15
    ProxyCommand ssh Jump-Server -W %h:%p

 

 

1 comment
Comment actions Permalink

Hi, there was a known issue with ProxyCommand -- https://youtrack.jetbrains.com/issue/IDEA-297742/SSH-connections-terminates-with-timeout-when-using-proxy-command-packets-arent-sent-by-IDE

Please make sure you're using the latest version and if the issue persists, please provide Logs from **Help | Collect Logs and Diagnostic Data** after reproducing it.

You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.

0

Please sign in to leave a comment.