Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


SSH sucking

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
cherring



Joined: 17 Feb 2006
Posts: 80

Posted: Sun Feb 10, 2008 4:27 am    Post subject: SSH sucking  

My ssh is continually timing out and I don't know why. Is my IP being bombarded, if so what can I do about it?
Back to top  
encode



Joined: 25 Feb 2005
Posts: 18

Posted: Sun Feb 10, 2008 5:19 am    Post subject: Re: SSH sucking  

cherring wrote: Is my IP being bombarded, if so what can I do about it?

Your network graphs in the web interface should give you the answer to that question.

I'd suggest a traceroute to determine where the packetloss is.
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 470
Location: Netherlands

Posted: Sun Feb 10, 2008 6:33 am    Post subject:  

Are you connecting from behind a NAT router? That seems to be the most common cause of ssh dropouts - the NAT entries are commonly cleared after 10 minutes without traffic. Try setting 'ClientAliveInterval 300' in sshd_config.
Back to top  
cherring



Joined: 17 Feb 2006
Posts: 80

Posted: Sun Feb 10, 2008 6:28 pm    Post subject:  

I just moved my port back off 22 and I'm back onto working fine, I figured out how to run my process on the non standard port. Sorted.
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1