SSH Keep Alive does not work In PyCharm
Answered
In PyCharm, when using a Keep Alive such as 30 seconds, the SSH connections still drops out after a period of time. When connecting to the same server with Putty using the same Keep Alive timeout, no disconnection ever occurs.
Please sign in to leave a comment.
Hi! Did you use Tools | Start SSH Session to check the Keep Alive? Did you try to configure the SFTP deployment and use it as credentials for Start SSH Session?
I can verify that this doesn't work in PyCharm 2021.1.1. If I connect to the same server through Putty or WLS from the shell, using the keep alive arguments, there's no problem.
Upvote, the connection indeed goes broken after a while with keepalive option enabled. On PyCharm 2021.2.