Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Finally had enough of VM BS...........

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service
Register FAQ Community Calendar

Telnet / SSH connection dying
Reply
 
Thread Tools
Old 10-09-2012, 17:26   #1
One Pound
Inactive
 
Join Date: Jan 2012
Location: ds
Posts: 22
One Pound can only hope to improve
Telnet / SSH connection dying

I'm using SSH to remote connect into a server, previously did the same using telnet. I've found that after about 10 minutes that the connection hangs and I need to reconnect.

This is quite annoying as I often might need to do some work on my own PC then switch to the remote server and find the connection has failed.

Is this perhaps down to the Superhub not liking long connections that might remain idle for a long time? Should I switch to modem mode.
One Pound is offline   Reply With Quote
Advertisement
Old 10-09-2012, 18:46   #2
General Maximus
Ran Away
 
Join Date: Nov 2008
Location: Lincoln
Services: phone + 1gbit BB + SkyQ
Posts: 11,021
General Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronze
General Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronzeGeneral Maximus is cast in bronze
Re: Telnet / SSH connection dying

yeah, peeps have had this problem before. There is a default timeout setting in the shub which is a little bit too sensitive and unfortunately you cant change it
General Maximus is offline   Reply With Quote
Old 10-09-2012, 18:53   #3
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,047
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: Telnet / SSH connection dying

only 2 ways round it.

use modem mode

or force frequent keepalive packets on the ssh session.
Chrysalis is offline   Reply With Quote
Old 10-09-2012, 18:58   #4
djb61
Inactive
 
Join Date: Aug 2006
Posts: 10
djb61 is an unknown quantity at this point
Re: Telnet / SSH connection dying

Depending on the client software you may be able to work around it by sending keepalive packets as the previous poster stated.

E.g. in putty simply go to Connection settings, tick "Enable TCP keepalives" and set an appropriate interval (I have mine set to 10 seconds). With this configuration against my sessions in putty I no longer have any issues with idle sessions being dropped by the superhub.
djb61 is offline   Reply With Quote
Old 10-09-2012, 19:05   #5
One Pound
Inactive
 
Join Date: Jan 2012
Location: ds
Posts: 22
One Pound can only hope to improve
Re: Telnet / SSH connection dying

Ahh, thanks. There is a keep-alive setting; I'll try setting it to 60 secs
One Pound is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:45.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum