l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Jan 07 17:39

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] ssh disconnects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] ssh disconnects

Remote ssh disconnections have been giving me quite a trouble recently,
and I was wondering if any of you guys are having the same issue, and more
importantly, have any solutions.

You've all seen it.  It looks something like this:

  bolt:~/>Read from remote host shell.sonic.net: Connection reset by peer
  Connection to shell.sonic.net closed.

I also have an exact same problem with a local server I've setup.  Search
on the Internet shows it's probably a firewall between my computer and the
remote computer, but this happens on local connections, too, and I get the
same problem on two different LANs, *and* more recently I've been getting
disconnects even after few seconds of idle time (on shell.sonic.net;
haven't noticed it on the local server) even though I haven't modified my
system at all.  I've updated to the latest Debian/testing with no
connection improvement.  My iptable is empty:

   # iptables --list
   Chain INPUT (policy ACCEPT)
   target     prot opt source               destination

   Chain FORWARD (policy ACCEPT)
   target     prot opt source               destination

   Chain OUTPUT (policy ACCEPT)
   target     prot opt source               destination

I've read that PuTTY has an option to send empty packets to keep the
connection alive but I'm using Linux here so that's not an option.  I've
played with KeepAlive and TCPKeepAlive options on ssh_config with no
avail.  I've also played with KeepAlive and TCPKeepAlive on sshd_config on
a local server I have root access to and it still has problems keeping the
connection alive with my desktop over the local LAN.

Currently, I'm more concerned with the connection to shell.sonic.net (my
ISP's shell server) for complicated reasons, so any solution involving
local changes is preferable to any solution involving a remote server

Any ideas?  Thanks in advance!!


Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.php?uid=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!