Refresh ssh connection after Client reboots

I'm connecting to a remote project over SSH ( it's a VM deployed on my machine) 
From time to time, I need to reboot the VM, is there a way to have PYcharm automatically reconnect to the client? 

What's happening for me:

  1. Pycharm is connected.
  2. I reboot the client VM .
  3. Pycharm disconnects (expected) 
  4. Client comes back up, (I check the ssh connection separately and it works fine) 
  5. PYcharm stays in disconnected state.

I wasn't able to find any “refresh”/"reconnect" or similar commands for the window or for the session. 

The only solution is to close the window and reopen. I've also searched online; however, I wasn't able to find anything about this. 

0
Hello,

Let's sync up on terminology first. We usually call the part you interact with a frontend, and the remote IDE is a backend.

So, if you restart a remote machine where the backend is currently running, it's expected that the frontend will be unable to reconnect. In this case, you should connect once again manually. We are aware of this usability problem and have plans to overcome it in the future. Please follow the corresponding issue in our tracker:

https://youtrack.jetbrains.com/issue/GTW-5551/There-is-no-way-to-reconnect-to-the-IDE-seamlessly-after-restarting-the-server
0

请先登录再写评论。