Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-13-2013
Registered User
 
Join Date: Feb 2012
Location: hyderabad
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Regarding PUTTY

Hello Forum members

There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum.


Advance Thanks
Siva.

Last edited by DukeNuke2; 03-13-2013 at 09:20 AM..
Sponsored Links
    #2  
Old 03-13-2013
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 9,662
Thanks: 166
Thanked 647 Times in 624 Posts
It is not putty. try this from the UNIX command line:


Code:
echo $TMOUT

If that variable is set the shell will disconnect the session after TMOUT seconds of inactivity.
Sponsored Links
    #3  
Old 03-13-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Location: Aachen, Germany
Posts: 1,910
Thanks: 25
Thanked 439 Times in 424 Posts
This is less a putty setting but more a configuration issue on the server side (sshd_config), if I remember correctly.

Last edited by RudiC; 03-13-2013 at 09:07 AM..
    #4  
Old 03-13-2013
Registered User
 
Join Date: Oct 2008
Location: INDIA
Posts: 41
Thanks: 8
Thanked 3 Times in 3 Posts
set TMOUT to 0
Sponsored Links
    #5  
Old 03-13-2013
Yoda's Avatar
Jedi Master
 
Join Date: Jan 2012
Location: Galactic Empire
Posts: 2,323
Thanks: 155
Thanked 742 Times in 714 Posts
I am not sure if this helps, I never tested it myself, but PuTTY also has a feature using keepalives to prevent disconnection.

Try it and see if it helps.
Sponsored Links
    #6  
Old 03-13-2013
radoulov's Avatar
--
 
Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 5,468
Thanks: 139
Thanked 538 Times in 506 Posts
Putty Configuration: Connection - set Seconds between keepalives to a value greater than 0 and check Enable TCP keepalives (SO_KEEPALIVE option).
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help for PuTTy. agnivaccent UNIX for Advanced & Expert Users 2 11-25-2009 06:51 AM
need help using scp on putty jsherk News, Links, Events and Announcements 4 08-12-2009 05:42 PM
Host Name for PuTTY oxoxo UNIX for Dummies Questions & Answers 1 09-23-2008 04:25 PM
putty mifa-system UNIX for Dummies Questions & Answers 7 09-16-2008 10:39 PM
PuTTY 0.59 pressy News, Links, Events and Announcements 2 01-30-2007 08:09 AM



All times are GMT -4. The time now is 03:09 AM.