Connecting to remote host via ssh tunnel
Hello!
I am using Professional Version of PyCharm 2020.1.3
I have two remote hosts and my local computer: let it be host_1 and host_2
For the first time, I used PyCharm remote interpreter via SSH connection to host_1, and it worked really cool: remote deployment, running all scripts on host_1 and etc.
For now, I need to copy my project to the host_2 and run some code on that machine (to use all the GPUs for training for that I have access and to run some experiments on that machine). I want to do it in the same way, as at the host_1, but the problem is that connection to host_2 is only available through the proxy tunnel of host_1 (host_2 is in the internal web).
When I'm trying to connect to host_2 from cmd, using config and ProxyCommand, it goes well. But when I tried to do it with PyCharm, a strange thing happens: as you can see on the screenshot, I wrote the same host as in the config and tried to connect. PyCharm is seeing it, otherwise, it would bring an error ("no such hostname" or something like that). But the connection lasts endlessly: no error, no connection.
I don't know if I did everything correctly.
If you have any suggestions or ways to correct it, it will be a pleasure to see)
Thanks!

请先登录再写评论。
Hi,
1) Does SSH work from PyCharm's terminal?
2) Have you checked idea.log (Help | Show Log in...) for relevant errors/warnings?
3) How do you start PyCharm, from Toolbox?
Sergey, Hi!
1) Yes, I can connect to host_1, but when I'm trying to connect to host_2 (via tunnel), it gives me an error:
CreateProcessW failed error:2
posix_spawn: No such file or directory
2) Not really. What should I emphasize on?
3) I am on Windows 10, so, just from shortcut on my desktop
1) Interesting. Seems to be similar to https://youtrack.jetbrains.com/issue/IDEA-214679, but this one is about ProxyJump.
2) There should be relevant messages from sshj. Like WARN - om.intellij.ssh.impl.sshj.sshj
Please also check these comments:
https://youtrack.jetbrains.com/issue/PY-41977#focus=Comments-27-4120090.0-0
https://youtrack.jetbrains.com/issue/IDEA-214679#focus=Comments-27-3527921.0-0