Text Size
Wednesday, February 22, 2012
Get a look down
General >> How to keep putty connection alive
Tuesday, 17 January 2012 11:42

How to keep putty connection alive

Written by Nabil Sadki
Rate this item
(0 votes)

Users of Windows environments often use the PuTTY client for their connections with Linux, it allows them to have direct access to the SSH server to perform bash command line.

Such access facilitates surely the task for network administrators, developers or even the webmasters.A command line that runs in a few seconds often avoids long working hours.

But often web hosting campanies that provide SSH access to their clients, limit the time of an inactive connection for performance and security reasons, which can be annoying sometimes, you have to launch from time to time some bach commands to leave the connection alive.

Digging a bit, I found a little trick that keeps the session open, even if you forget to run a command as putty has a setting in the configuration that will work for us!

Open putty, then in the first interface "Session" Select connection type as "SSH", provide a hostname and port (or leave blank for default port).

PuTTy configuration

After this, select the "Connection" category, then put a positive number of seconds, of course the number must be less than the time of an idle session.

PuTTy configuration

You can now return to the category "Session" and record the session for later use.

 

That's all folks!

Last modified on Tuesday, 17 January 2012 12:09
Nabil Sadki

Nabil Sadki

Hello, I am Nabyl, a Freelance web developer and a joomla addict. I have made many sites using the latter, but also patches for the core of this CMS. I like HipHop culture and world of warcraft. You can find find me on Twitter when i'm free...

Website: www.coins.ma E-mail: This e-mail address is being protected from spambots. You need JavaScript enabled to view it
More in this category: « Welcome to my personal blog

Add comment



Usefull tricks