Frequently I log in by ssh to a remote computer.  If I don't keep
using the connection, after a few minutes I get the message
" Read from remote host deeptow: Connection reset by peer
Connection to deeptow closed."

Browsing around in /etc/ssh/sshd_config I don't see any way to adjust
the timeout value.  Maybe I am looking in the wrong place.

I find "KeepAlive yes" in sshd_config on the remote system.
I find "#TCPKeepAlive yes" in sshd_conf on the local system.  So it is
commented out.
"ClientAliveInterval" is mentioned in man sshd_config but is not
present in the config file.

The remote system is:
deeptow: cdl 504$ uname -a
Linux deeptow 2.2.20 #2 Wed Mar 20 19:57:28 EST 2002 alpha unknown
deeptow: cdl 505$ cat /proc/version
Linux version 2.2.20 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011006
(Debian prerelease)) #2 Wed Mar 20 19:57:28 EST 2002

The local system is:
[EMAIL PROTECTED] ~]$ uname -a
Linux delta 2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT 2005
i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$ cat /proc/version
Linux version 2.6.12-1.1381_FC3smp ([EMAIL PROTECTED])
(gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Fri Oct 21
04:03:26 EDT 2005

deeptow: /usr/sbin/sshd has RCS Id strings, the first one is
$OpenBSD: sshd.c,v 1.251 2002/06/25 18:51:04 markus Exp $

delta:/usr/sbin/sshd does not have RCS Id strings, but does contain
the identifying message OpenSSH_3.9p1-FC-3.9p1-8.0.3

I would think that any negotiation about timeout would take place
between ssh on the local system and sshd on the remote.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to