Putty: Reconnect facility

Rashkae ubuntu at tigershaunt.com
Sat Sep 13 04:58:01 UTC 2008


Chaman Singh Verma wrote:
> Hello,
> 
> I have DSL broadband which gets frequently disconnected. I am using Putty
> to remote login. Can someone tell how to configure Putty so that it is
> reconnected
> automatically ?
> 
> I searched that there is PuttyTray also on the net which has this feature on
> experimental basis.  But I couldn't get the source code or binary to
> experiment
> with this software. Can someone help ?
> 
> csv
> 
> 

Create a batch file that infinitely loops the putty process.

Quick and dirty example

:start
c:\putty -load my_profile
goto start

this only works if putty is closing when you get disconnected.  I
believe you can turn on tcp_keepalive option in putty that will allow it
to more quickly detect a dead connection and abort.






More information about the ubuntu-users mailing list