ssh connections being dropped

Dustin Howell dn.howell at gmail.com
Sat Feb 11 22:41:55 MST 2006


Hey Gabe,

I connect to that server from my house here in provo all the time and I
havent had any problems with it disconnecting.  What client are you using?
I have been using SecureCRT
and have not had any issues.

Dustin

On 2/11/06, Gabriel Gunderson <gabe at gundy.org> wrote:
>
> Has anyone seen this before?  After about 10 mins (or so) my shh
> connection will be dropped.  It's only on one of many remote servers
> that I connected to.  I don't believe it's on my (client) side.  This
> particular server is running openssh-server-3.9p1-8.RHEL4.9  Logs show
> nothing.  Google yields nothing to my untrained eyes.  Possibly relevant
> info below.  Any ideas where to start on this one?
>
>
> MESSAGE AS I'M DROPPED (ssh -vvv):
> #####################################################################
> [root at rms ~]# debug1: channel 0: free: client-session, nchannels 1
> debug3: channel 0: status: The following connections are open:
>    #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1)
> debug3: channel 0: close_fds r 4 w 5 e 6 c -1
> Read from remote host tbmhost.com: Connection reset by peer
> Connection to tbmhost.com closed.
> debug1: Transferred: stdin 0, stdout 0, stderr 96 bytes in 2274.4 seconds
> debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
> debug1: Exit status -1
>
>
> TCP TIMEOUT SETTING (stock CentOS 4 settings - works on other servers):
> #####################################################################
> cat /proc/sys/net/ipv4/tcp_keepalive_intvl
> 75
> cat /proc/sys/net/ipv4/tcp_keepalive_probes
> 9
> cat /proc/sys/net/ipv4/tcp_keepalive_time
> 7200
>
>
> SSHD CONFIG:
> #####################################################################
> grep -v "#" /etc/ssh/sshd_config
>
> Port 22
> SyslogFacility AUTHPRIV
> PermitRootLogin no
> PasswordAuthentication yes
> UsePAM yes
> X11Forwarding no
> TCPKeepAlive yes
> Compression yes
> Subsystem       sftp    /usr/libexec/openssh/sftp-server
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>



More information about the PLUG mailing list