Wednesday, June 23, 2010

SSH / Telnet Keep connection alive in putty!


Folks! I have found the setting in the putty SSH client which enables the client to send a null packet to the server daemon process ever 'x' seconds. Hmmm... Big sigh of relief for me!! It was driving me crazy..
 
This is what you have to do to keep the SSH / Telnet connection alive for extended period of time.
 
Open putty settings, navigate to SSH, There will be an option to give the keep the connection alive. By default it will be '0', change it to something between 5 to 30.

Then save the settings to the default setting, so that this setting will be made permanent.

Tuesday, June 15, 2010

My Google voice number!

The below widget would enable you folks to communicate to me via telephone! Try that out!!! (Anyway no one talks to me.. It is so lonely here...)




Question: SSH inactivity closes the session...

Folks, I have been using SSH (secure shell) to open sessions to sun solaris servers in my work place, recently, I am running in to issues. If I keep the shell open for long, because of the IDLE_TIMEOUT setting my admin has put in, the connection terminates after 300 seconds. It is very annoying. To overcome this problem, I am running prstat to transfer some dummy data back and forth between the terminal and the server. If you have any other suggestions, please let me know in the comments section.. Much appreciated..