[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#454784: openssh-client: Concurrent connections fail on the control socket creation race



Package: openssh-client
Version: 1:4.6p1-5
Severity: normal

I use "ControlMaster auto" in my .ssh/config, which usually works fine,
except for two problems:
- the main one is already mentioned in some other bugreport (failure to
  connect if there's a stale control socket).
- the other one is that if I start 2 ssh clients concurrently, the second
  one will establish the commuincation fine and will then exit with an error
  because it was not able to create the control socket (because that socket
  was created by the first client).

The easiest solution is probably to let ssh ignore the error rather than exit.  The better solution would be to create the socket before establishing the connection so the second ssh would connect via the first one.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-client depends on:
ii  adduser               3.105              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.17             Debian configuration management sy
ii  dpkg                  1.14.7             package maintenance system for Deb
ii  libc6                 2.7-3              GNU C Library: Shared libraries
ii  libcomerr2            1.40.2-1           common error description library
ii  libedit2              2.9.cvs.20050518-4 BSD editline and history libraries
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libncurses5           5.6+20071013-1     Shared libraries for terminal hand
ii  libssl0.9.8           0.9.8g-1           SSL shared libraries
ii  passwd                1:4.0.18.1-11      change and administer password and
ii  zlib1g                1:1.2.3.3.dfsg-6   compression library - runtime

openssh-client recommends no packages.

-- no debconf information




Reply to: