Package: openssh-client Version: 1:5.1p1-5 Severity: normal ssh doesn't remove sockets from dead ssh clients. When it gets a connection refused message on a socket it should presume that ssh process is dead, delete the socket and create a new one. This would remove the need to manually clean up after a Linux crash or similar.
p...@chianamo:~$ xterm -e ssh people.debian.org & sleep 10s ; killall -9 ssh ; ssh people.debian.org [1] 8225 [1]+ Done xterm -e ssh people.debian.org Control socket connect(/home/pabs/.ssh/control/chianamo->p...@people.debian.org:22): Connection refused Host key fingerprint is ac:b4:ac:8a:b5:a3:0a:72:76:a8:16:96:a2:c7:86:ba +--[ RSA 2048]----+ | | | | | | | . | | . . S | |.+ . o o | |*o* . + | |=B=o . | |E=oo. | +-----------------+ ControlSocket /home/pabs/.ssh/control/chianamo->p...@people.debian.org:22 already exists, disabling multiplexing Linux ravel xxxxxxxxxxxxxxxxxxx Sun Apr 5 00:16:11 CEST 2009 x86_64 This is ravel.debian.org, aka people.debian.org. Last login: Thu Apr 9 02:30:24 2009 from xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx p...@ravel:~$ logout Connection to people.debian.org closed. p...@chianamo:~$ ls -l '/home/pabs/.ssh/control/chianamo->p...@people.debian.org:22' srw------- 1 pabs pabs 0 2009-04-09 10:30 /home/pabs/.ssh/control/chianamo->p...@people.debian.org:22= -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openssh-client depends on: ii adduser 3.110 add and remove users and groups ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii dpkg 1.14.25 Debian package management system ii libc6 2.7-18 GNU C Library: Shared libraries ii libcomerr2 1.41.3-1 common error description library ii libedit2 2.11~20080614-1 BSD editline and history libraries ii libkrb53 1.6.dfsg.4~beta1-5 MIT Kerberos runtime libraries ii libncurses5 5.7+20081213-1 shared libraries for terminal hand ii libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries ii passwd 1:4.1.1-6 change and administer password and ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages openssh-client recommends: ii openssh-blacklist 0.4.1 list of default blacklisted OpenSS ii openssh-blacklist-extra 0.4.1 list of non-default blacklisted Op ii xauth 1:1.0.3-2 X authentication utility Versions of packages openssh-client suggests: pn keychain <none> (no description available) pn libpam-ssh <none> (no description available) pn ssh-askpass <none> (no description available) -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part