Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jun 15, 2012 10:17 am 
Offline
Newbie

Joined: Fri Jun 15, 2012 10:11 am
Posts: 3
Hi,

I am new to Linode, and am using bash in OS X to SSH to my node, but from time to time, the connection just closes itself and says 'connection reset by peer'. I wonder what could cause this behavior, and more specifically, could it be limited to SSH or all connections (HTTP, HTTPS, etc) to my node in general? Thanks.


Top
   
PostPosted: Fri Jun 15, 2012 10:54 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Are you sure your connection isn't just timing out?


Top
   
PostPosted: Fri Jun 15, 2012 12:14 pm 
Offline
Newbie

Joined: Fri Jun 15, 2012 10:11 am
Posts: 3
Guspaz wrote:
Are you sure your connection isn't just timing out?


How long is the default time-out? I am pretty sure that the lengths of time of inactivity before 'connection reset by peer' are different from time to time. Sometimes I get disconnected 5 mins after logged on, and I was doing stuff in the terminal for at least 4 out of that 5 mins.

Besides time-out, any other possible cause for such disconnection? thanks.


Top
   
PostPosted: Fri Jun 15, 2012 2:08 pm 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
You could make sure that TCP KeepAlives are enabled for SSH on your local machine as well as within the Linode. You can set a KeepAlive packet to be sent every minute or so.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


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


Who is online

Users browsing this forum: No registered users and 8 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