OpenSSH
[Top] [All Lists]

fail to exit shell after issuing 'ssh -f .... targethost.foo.bar sleep 5

To: openssh-unix-dev@mindrot.org
Subject: fail to exit shell after issuing 'ssh -f .... targethost.foo.bar sleep 500000'
From: "Jochen Kirn" <jochen.kirn@gmail.com>
Date: Fri, 24 Nov 2006 16:53:34 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
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
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>