On Web336, I've been experiencing (seemingly) random but frequent timeouts when trying to connect via SSH or FTP after being in SSH and FTP sessions. During the most recent occurrence (a few minutes ago), I had an SSH session going as my main user and an FTP session going as a new user I was setting up (verifying access that I was changing in the SSH session). I did find: http://community.webfaction.com/questions/2439/ssh-sessions-keep-freezing ...but that refers to a timeout due to the session being idle, which I haven't been. I can get back in after 5-10 minutes, but I'm wondering if I'm doing something to cause this (so I can stop doing that). asked 17 Jan '13, 08:14 vixenlights |
Hello, web336 has experienced no issues today, and I see a user on it, logged in for 3 (three) days now. It could be that something on your end is causing the connection drops you experience. Please do the following:
Also, if you are using a wireless connection, then please try switching to a wired one to see whether there is difference. Please report the outcome back here so we can advise further. Please note that your ping/mtr/pathping output might contain sensitive data, such as your IP, so you might wish to post a ticket on the problem. Best Regards, Valentin I. WebFaction - Smarter web hosting answered 17 Jan '13, 10:07 valentini Hi, Just wondering what became of this. I'm experiencing the same issue. Tomorrow I'll have to try the suggestions but I also get frequent frozen ssh sessions and not when I'm idle but I could be in the middle of editing a file and suddenly it freezes. Mike
(14 Mar '13, 00:06)
yatinla
It's strange, but I've seen this before on rare occasions as well, and solved it by explicitly sending heartbeat packets. Specifically, when I connect to a server, here is my SSH line:
(I believe that in PuTTY there is also an option for setting the I'd recommend first trying this to ensure that it doesn't solve the problem, because it's worked for me in the rare cases referred to above.
(14 Mar '13, 00:52)
ryans ♦♦
|
For others experiencing the disconnected-on-idle problem and perhaps even the OP's disconnected-despite-not-idle problem, here is how to get UNIX ssh and Windows putty to keep your interactive ssh alive: https://patrickmn.com/aside/how-to-keep-alive-ssh-sessions/ (more detail on ServerAliveInterval option mentioned by ryans above) http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/ (in putty Configuration window, go to Connection and set "Seconds between keepalives" to something other than 0, such as 60 seconds) answered 14 Nov '17, 07:38 cpirazzi |