Answer the question
In order to leave comments, you need to log in
How can I save ssh sessions in Putty?
Hey!
I actively work with remote Linux servers through Putty and faced such a problem - after I change the network - all connections fall off and I have to reactivate sessions. At the moment, I have simplified the process a little through screen and autologin, but here's how to bind a specific Putty window to a session - there are no ideas how to organize it yet.
Who-thread solved such a problem already or do you need to do your own lisaped?
Answer the question
In order to leave comments, you need to log in
Everything is logical.
It's not about ssh, but about tcp over which ssh is already running. When changing the IP address (network), the tcp connection is broken. And a new connection requires a new handshake, etc.
That is, you need the program to reconnect to your server in case of a break, which means it passes authorization and also launches the screen you need on the server.
Unfortunately, I have not seen a ready-made solution similar for windows.
I found a solution - I slightly modified the Putty sources and now it generates a special key at startup and transfers it to the server upon connection, and thus a specific screen and Putty session is connected
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question