Bug#445398: option -f (background) does not work with a ControlMaster
Package: openssh-client
Version: 1:4.6p1-5
Severity: normal
Hi,
Without a running ControlMaster, I get this desired behaviour:
$ ssh nomeata.de echo test \; sleep 10
prints “test”, waits for 10 seconds and returns to the prompt
$ ssh -f nomeata.de echo test \; sleep 10
waits for the connection to establish and then returns to the prompt.
Then “test” is written across it, and the process sits in the background
for 10 seconds.
If I have a control master for the host running, both ways to run the
command bevahe as the first: Even with “-f” ssh is not going to the
background.
I assume that the point at which -f takes effect is part of the
connection opening code that can be skipped if a ControlMaster is
present.
Greetings,
Joachim
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21.otto
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.14 Debian configuration management sy
ii dpkg 1.14.6 package maintenance system for Deb
ii libc6 2.6.1-5 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-1 MIT Kerberos runtime libraries
ii libncurses5 5.6+20070908-1 Shared libraries for terminal hand
ii libssl0.9.8 0.9.8e-9 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: