The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Display to PC via ssh/putty (RHE 5) kjbaumann Linux 1 08-09-2007 06:01 PM
Bad performance when log in with putty combat2k AIX 6 06-08-2007 04:25 AM
PuTTY 0.59 pressy News, Links, Events and Announcements 2 01-30-2007 09:09 AM
How can i Configure TCP Keepalive on sun solaris 9 machine? m_amin SUN Solaris 1 02-04-2006 09:34 AM
SSH with Putty AJA SUN Solaris 3 03-01-2004 03:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
dannyd_y dannyd_y is offline
Registered User
  
 

Join Date: May 2008
Posts: 9
Putty KeepAlive command

Could anyone pls tell me what's the Putty KeepAlive command, use to prevent the putty disconnected from server.thanks
  #2 (permalink)  
Old 05-12-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
Just issue a while do done on the server
  #3 (permalink)  
Old 05-12-2008
dannyd_y dannyd_y is offline
Registered User
  
 

Join Date: May 2008
Posts: 9
Sorry i'm not sure what u mean?
  #4 (permalink)  
Old 05-13-2008
amit_arora amit_arora is offline
Registered User
  
 

Join Date: May 2008
Posts: 9
Talking

Just type "ed" while not in use. This will prevent the session from getting disconnected.

Use Ctrl-D to come out of the "ed" command typed earlier.
  #5 (permalink)  
Old 05-13-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
or type this

while date
do
sleep 30
done
  #6 (permalink)  
Old 05-13-2008
dannyd_y dannyd_y is offline
Registered User
  
 

Join Date: May 2008
Posts: 9
where i suppose to typ>? you mean in the server huh?
i have found one command, ssh -2 -o 'TCPKeepAlive=yes' username@hostname

but can't work....
  #7 (permalink)  
Old 05-13-2008
penchal_boddu penchal_boddu is offline
Registered User
  
 

Join Date: Apr 2008
Location: Bangalore
Posts: 127
Hi,

The following command may solve the purpose for you.

export TMOUT=0

Thanks
Penchal
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0