Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jan 16, 2012 7:52 pm 
Offline
Senior Newbie

Joined: Sun Jan 01, 2012 8:55 pm
Posts: 7
i keep getting disconnected with putty!!

after a few minutes or doing a few commands, it just disconnects!


on my osx terminal, i am not getting disconnects, but sometimes it gets very lagging when sshed in!

anyone know why or have a solution for me?


Top
   
 Post subject:
PostPosted: Mon Jan 16, 2012 10:19 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Are you behind a NAT? If so, it's possible the router is expiring "idle" connections too quickly. Your client might have an option to send keepalives every so often; this can sometimes help. (There's also an option in sshd's config, somewhere, I believe.)


Top
   
 Post subject:
PostPosted: Tue Jan 17, 2012 7:36 pm 
Offline
Senior Newbie

Joined: Sun Jan 01, 2012 8:55 pm
Posts: 7
no, thats not it. this just started to happen like yesterday.


Top
   
 Post subject:
PostPosted: Tue Jan 17, 2012 8:29 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
If you do packet captures (tcpdump, wireshark, etc) on both ends, do they see the same packets?


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2012 2:11 pm 
Offline
Junior Member

Joined: Mon Nov 07, 2011 9:18 am
Posts: 22
I just went through this same issue, my post is on here somewhere. I never did figure out what causes the disconnects, but what fixes it is to turn on keepalives in Putty.

Go to the main connection tab, and select "Enable TCP keepalives". Also, set the "Seconds between keepalives" to 30. This fixed my issues, and I'm sure it will yours.


Top
   
PostPosted: Wed Jan 18, 2012 4:56 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
mrm83 wrote:
sometimes it gets very lagging when sshed in!

Is the server overloaded?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group