![]() |
SSH Session Timeouts?
After 'upgrading' to the superhub, not only am I lacking the ability to use my internal LAN DNS server (at least as issued by the hubs DHCP), I've noticed that SSH connections appear to be dropping whilst left inactive.
This caused quite a mess when I was dist-upgrading last night and it disconnected half way through. Does anyone know if this is a configurable option of the Superhub before I waste time fiddling through the terrible interface? PS: Does anyone know if I can get shell access to the Superhub or otherwise modify the routing table? The ability to route everything through another server before going back out to the internet would be great. |
Re: SSH Session Timeouts?
Quote:
Quote:
Quote:
Quote:
Quote:
There was a bug in the firmware that left an active ssh port open on the superhub, but they fixed it. I guess they didn't want to risk anyone figuring out how to use this privileged access to change stuff that shouldnt be changed. Can't say I blame them. |
Re: SSH Session Timeouts?
It sucks, it's not possible on all devices and it's an unnecessary restriction.
Dist-upgrading over SSH is fine (and necessary on my headless leased server), I just forgot to do it in a screen session. That would have prevented any issues. Although not the inconvenience. I would put my superhub into 'modem' mode, but that seems to eliminate the whole point of it being a gigabit router with a decent wifi chip. It's so frustrating to have all that functionality locked up in a crap interface. I wish they'd just sent me a SACM and had done with it. This is just a tease. Or at the very least, access to the routing table and ability to change DNS servers. Unbelievable. |
Re: SSH Session Timeouts?
Quote:
Running it inside screen is a good option if your network tends to disconnect however. |
Re: SSH Session Timeouts?
Milambar how else are they going to dist-upgrade?
ssh is the primary means to manage unix servers. Its a stable protocol but obviously relies on a network connection to hold up. The OP I uggest you use 'screen' tho, that way if you lose your ssh connection the session stays up in screen and you can reattach to it. Seems the lame timeouts in the superhub still exist then. Another workaround is to force the sshd server to send frequent keepalive packets. ---------- Post added at 16:02 ---------- Previous post was at 15:58 ---------- Quote:
kvm is great but in many cases it cant be justified for the 24/7 cost. I have a 24/7 kvm on some servers, usually ones with built in ilo and colo'd rather than rented, and a few 'expensive' rented servers, but pretty much all low cost rented ones I just ask for a kvm when its needed (extremely rare). The dc's I use will typically provide a kvm within 10-20 minutes. Hard rebooting the server is overkill for a downed ssh. But if you do hard reboot I think its very rare now days to not have a remote reboot port (APC), as even cheap servers usually get supplied with one now, as it saves the dc costs on tech support. |
Re: SSH Session Timeouts?
Milambar, I really don't think you need to be paying out for KVM just on the off-chance your SSHd might crash. Mine has never crashed on Debian, even after well over two years up-time.
Back on-topic, so far a solution has been to configure PuTTY to send keep-alive packets every 60 seconds. I think there's a server-side solution too which I'll probably get around to eventually, as at the moment WinSCP freezes for several seconds before making me go through the 'abort, reconnect, go back to where I was' rigmarole. All because Virgin are enforcing something which is probably just a workaround for the router's poor ability to handle too many open connections at once? Probably. |
Re: SSH Session Timeouts?
Quote:
Quote:
/etc/ssh/sshd_config Code:
TCPKeepAlive yes |
Re: SSH Session Timeouts?
Thanks for the config directives Milambar.
|
Re: SSH Session Timeouts?
Quote:
|
| All times are GMT. The time now is 23:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum