User comments on ISPs
  >> Zen Internet


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User deleted
(deleted) Wed 06-Mar-19 22:23:35
Print Post

Stability? Rarely keep a connection longer than 24 hours


[link to this post]
 
I try to have a standing ssh connection from home (FTTC/37Mbps connection) to my desktop at work, but it rarely survives from one day to the next. All I see is
Connection reset by [remote IP] port 22

Is this a common problem? Is there any way to localise it to Zen vs. my work vs. all the links in between?

Thanks
Standard User caffn8me
(eat-sleep-adslguide) Tue 12-Mar-19 21:18:29
Print Post

Re: Stability? Rarely keep a connection longer than 24 hour


[re: deleted] [link to this post]
 
Do you have TCP KeepAlive set on your ssh session client? If not, try adding the following to your ssh config (if OpenSSH);

TCPKeepAlive        yes
ServerAliveInterval 120
ServerAliveCountMax 2

You should also set up TBB ping monitors for each end to see if there are connectivity issues.

Sarah

--
If I can't drink my bowl of coffee three times daily, then in my torment, I will shrivel up like a piece of roast goat

Spiders on coffee - Badass spiders on drugs

Edited by caffn8me (Tue 12-Mar-19 21:26:41)

Standard User deleted
(deleted) Wed 13-Mar-19 04:01:16
Print Post

Re: Stability? Rarely keep a connection longer than 24 hour


[re: caffn8me] [link to this post]
 
In reply to a post by caffn8me:
You should also set up TBB ping monitors for each end to see if there are connectivity issues.
I second this suggestion. I use remote desktop and I used to have a similar problem with sessions logging out unexplainably overnight. I put the ping monitors in place and noticed some packet loss coinciding with when my session would be disconnected. Mystery solved.


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Sat 30-Mar-19 10:11:32
Print Post

Re: Stability? Rarely keep a connection longer than 24 hour


[re: caffn8me] [link to this post]
 
Thanks very much. Up five days and counting after changing to

#TCPKeepAlive yes
ServerAliveInterval 120
ServerAliveCountMax 3

[I thought I'd try one change at a time...]
Standard User caffn8me
(eat-sleep-adslguide) Sat 30-Mar-19 20:08:44
Print Post

Re: Stability? Rarely keep a connection longer than 24 hour


[re: deleted] [link to this post]
 
Excellent smile Glad to hear it worked.

Sarah

--
If I can't drink my bowl of coffee three times daily, then in my torment, I will shrivel up like a piece of roast goat

Spiders on coffee - Badass spiders on drugs
  Print Thread

Jump to