Walker News

A capsule of walker’s experience in life…

How To Keep Inactive SSH Session From Disconnected

For those who are particular about network security will never compromise to allow telnet protocol as part of the remote access implementation.

Beside network protocol consideration, network security experts also suggest configuring network routers to drop or disconnect an idle connection.


That was the problem what my colleague encountered this morning. When his Putty initiated SSH connection from outskirt to servers at HQ over VPN connection, with a not-so-good dial-up networking, the VPN router consistently disconnect / drop the SSH session whenever the idle threshold triggered.

However, some of the client software might able to overcome the restriction. For example, the Putty (wonderful Windows SSH client) offers keepalive option to get rid of “VPN router disconnects idle connection”!

Configure Putty keepalive option to get rid of VPN router auto disconnect idle or inactive SSH session.

  1. [ Optional, only applicable if you want to save a SSH profile for convenient ] Click on the Session category tree menu, enter Host name or IP address of target host, select SSH protocol and gives it a meaningful profile name in Saved Sessions text box.
     
  2. Click on the Connection category tree menu, enter a non-zero digit (indicates number of seconds) in Seconds between keepalives (0 to turn off) text box.
     
  3. Go back to Session category tree menu and click the Save button.
     
  4. From now onwards, whenever you load this SSH session profile and click Open button, the keepalive feature will be enabled to keep the inactive / idle SSH session from disconnected by VPN router (that enforce such rigid security practice).

So, if you’re using Putty as Windows SSH client and encounter problem of SSH disconnected after idle / inactive for some minutes, please try to configure the keepalive option.

Bookmark and Share:
  • Facebook
  • StumbleUpon
  • Sphinn
  • Digg
  • Pownce
  • del.icio.us
  • Live
  • Google
  • YahooMyWeb
  • Slashdot
  • Furl
  • NewsVine
  • Reddit
  • Ma.gnolia
  • TailRank
  • Technorati
  • BlinkList
  • blogmarks
  • IndianPad
  • Haohao
Topic - Internet, Security   Search - , , , , , , , , , , ,

Similar Articles:
» Configure Secured Private Key For Password-less SSH Login
» How To Setup Non-Interactive SSH Login
» Configure Putty To Support Password-less SSH Login
» Where Does Putty Keeps SSH Host Key Fingerprint In Windows Registry?
» Registry Used To Print Vista Version On Desktop
» How To Extract Audio Music From A Video Clip In Windows Movie Maker
» Configure VNC Server To Auto Start Up In Red Hat Linux

Custom Search

Latest Posts @ WalkerNews.net

↑ Grab this Headline Animator

Navigation:
» HOME - WalkerNews.net
« PREV  - Update WP_TITLE To Display Blog Name On The Right
» NEXT  - Windows Vista MUI Pack VS Windows Vista System Locale

No comments yet. Be the first.

Appreciate your comments, but please be in topic.
Please use proper English with punctuation, from 12th of May 2008 onwards.
WalkerNews.net supports Gravatar (Web ID)