Jochen Kirn
2006-Nov-24 15:53 UTC
fail to exit shell after issuing 'ssh -f .... targethost.foo.bar sleep 500000'
Hi, Software in use: OpenSSH-Version: 4.5p1 OpenSSL-Version: 0.98d zlib-Version: 1.2.3 OS-Platform: AIX 5.3 ML4 Problem: when issuing following command on an AIX host: $ ssh -2 -n -f -x -L6666:localhost:6666 -o BatchMode=yes targethost sleep 500000 $ exit the shell is waiting for the finish of issued command (sleep). The expected behaviour of above command should be, that the shell would close immediately and the issued command (... sleep) still would run as a backgroud process. On Solaris (tested on 5.9, 5.10) and Linux (SuSE SLES 9) above commands perform as expected When looking at the config.log i can see that configure cannot find a platform daemon function on AIX and thus uses the openbsd-compat version of the daemon function. Anyone an idea how to fix this ? thanks
Darren Tucker
2006-Nov-27 04:15 UTC
fail to exit shell after issuing 'ssh -f .... targethost.foo.bar sleep 500000'
Jochen Kirn wrote:> when issuing following command on an AIX host: > $ ssh -2 -n -f -x -L6666:localhost:6666 -o BatchMode=yes targethost sleep > 500000 > $ exit >[...] I suspect this is an instance of this bug: http://bugzilla.mindrot.org/show_bug.cgi?id=52 -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Maybe Matching Threads
- fail to exit shell after issuing 'ssh -f .... targethost.foo.bar sleep 500000' [SOLVED]
- Not using expired node for targethost from cache; expired
- cannot create .hosts.b0WX1x : File exists
- What is the ssh_config equivalent to this syntax involving multiple at signs
- scp not shutting down in 2.1.1p4