Putty KeepAlive command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Putty KeepAlive command
# 1  
Old 05-12-2008
Putty KeepAlive command

Could anyone pls tell me what's the Putty KeepAlive command, use to prevent the putty disconnected from server.thanks
# 2  
Old 05-12-2008
Just issue a while do done on the server
# 3  
Old 05-12-2008
Sorry i'm not sure what u mean?Smilie
# 4  
Old 05-13-2008
Computer

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  
Old 05-13-2008
or type this

while date
do
sleep 30
done
# 6  
Old 05-13-2008
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....Smilie
# 7  
Old 05-13-2008
Hi,

The following command may solve the purpose for you.

export TMOUT=0

Thanks
Penchal
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Remote command in PuTTY

I have an issue with all of my AIX servers where a user can execute a remote command (bash in this case) using PuTTY and bypass all of the application security that we setup in the users .profile. How do I secure this without breaking the rest of the users? (8 Replies)
Discussion started by: d_brodie
8 Replies

2. UNIX for Dummies Questions & Answers

Getting command output to putty window title.

Hi, Last 2 weeks I have searched many forums and i haven't found the answer for the question: How to get all command output to Putty title? Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
Discussion started by: domagaj
1 Replies

3. UNIX for Dummies Questions & Answers

Keepalive issue

Hi, I am a c# developer and new to linux/unix environment after the prev developer resigned and is expected to swim but I am drowning :wall::wall: My problem is with keepalive. Currently there are 90+ nodes/jobs that run under keepalive. I managed to get code that shows me the count of... (4 Replies)
Discussion started by: AManAPlan
4 Replies

4. Red Hat

Putty Command

Hi, I am trying to update my site using putty. My server is in linux. I found few commands that help me to access and do few stuffs in the server. Please add additional command. ls - to list files in a directory: cd - change directory (navigate to some directory): cp - copy a file: mv - move... (5 Replies)
Discussion started by: khadkabirendra
5 Replies

5. UNIX for Dummies Questions & Answers

Command to delay password entry - putty connection manager

Hi all, putty connection manager is great but when attempting to sudo or ssh to another box via the post login commands it is subject to issues due to network latency (what happens is that pcm enters the password before the unix box is ready to receive it). Is there any clever way I can make... (1 Reply)
Discussion started by: skinnygav
1 Replies

6. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

7. UNIX for Advanced & Expert Users

Reading putty command line parameters from Linux

I am running Putty 0.60 from Windows XP and I am connecting to a Linux box. I would like to be able to pass a command line parameter to my Linux session so that my Linux session can execute a specific command, depending on the command line parameter. I have looked on the Internet and tried... (1 Reply)
Discussion started by: SFNYC
1 Replies

8. UNIX for Dummies Questions & Answers

putty

i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

9. News, Links, Events and Announcements

PuTTY 0.59

On my opinion, one of the best ssh/telnet clients for windows, putty released a new version: Get it here, PuTTY 0.59 - PuTTY can now connect to local serial ports as well as making network connections. - Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication -... (2 Replies)
Discussion started by: pressy
2 Replies

10. Solaris

How can i Configure TCP Keepalive on sun solaris 9 machine?

I've installed sun solaris 9 and i need to know how can i enable TCP Keepalive to ping socket connections every 300 seconds? Thanks, Mohammed Amin (1 Reply)
Discussion started by: m_amin
1 Replies
Login or Register to Ask a Question