Bug#335531: openssh-client: Automatic connection caching broken after SIGKILL
Package: openssh-client
Version: 1:4.2p1-5
Severity: normal
Automatic connections caching breaks after ssh is terminated with
SIGKILL. This frequently happens when ssh is invoked as a subprocess of
some other (arguably buggy) application, eg. subversion (separate bug
already filed for that).
My ~/.ssh/config contains
ControlPath /tmp/.ssh-%h-%p-%r
ControlMaster auto
If I then do:
$ ssh jay
<swith to different terminal>
$ kill -KILL <pid of ssh process>
$ ssh jay
Control socket connect(/tmp/.ssh-jay-22-paul): Connection refused
ControlSocket /tmp/.ssh-jay-22-paul already exists
$
The only way to make it work again to manually rm /tmp/.ssh-jay-22-paul
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages openssh-client depends on:
ii adduser 3.73 Add and remove users and groups
ii debconf [debconf-2. 1.4.58 Debian configuration management sy
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libcomerr2 1.38-2 common error description library
ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries
ii libkrb53 1.3.6-5 MIT Kerberos runtime libraries
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii libselinux1 1.26-1 SELinux shared libraries
ii libssl0.9.8 0.9.8a-2 SSL shared libraries
ii zlib1g 1:1.2.3-6 compression library - runtime
openssh-client recommends no packages.
-- no debconf information
Reply to: