PyCharm Python Console With SSH Tunneling?
已回答
Recently I was trying to connect with an AWS instance with the Python Console and eventually I discovered the problem was that the pydevconsole was opening a port and expecting PyCharm to connect with it. Once I connected to my VPN, this was OK.
Trouble is, sometimes I connect to machines via ssh where there is no VPN access, and in that case, the extra port doesn't work.
Now I know that you can tunnel ports through ssh and it seems like somehow that could be done to connect to the Python Console.
Is there a way to do that built into PyCharm?
请先登录再写评论。
Hello! There is a known problem that you can't run Debugger and Console without tunneling: https://youtrack.jetbrains.com/issue/PY-9867. But if you have tunneling you can run them after configuring your Remote interpreter.