A
A
AlexeiZavjalov2014-07-20 17:25:57
linux
AlexeiZavjalov, 2014-07-20 17:25:57

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

2 answer(s)
I
Igor, 2014-07-20
@merryjane

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.

A
AlexeiZavjalov, 2014-07-21
@AlexeiZavjalov

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 question

Ask a Question

731 491 924 answers to any question