Re: Annoying, Remote command does not quit when ssh does

From: Pierre Asselin (pa@panix.com)
Date: 04/25/03

  • Next message: Darren Tucker: "Re: OpenSSH 3.6.1p1 and AIX 4.3"
    From: Pierre Asselin <pa@panix.com>
    Date: Fri, 25 Apr 2003 01:57:11 +0000 (UTC)
    
    

    Graham Wharton <graham@gwsoft.co.uk> wrote:

    > ssh remotemachine command >/dev/null 2>/dev/null &

    It's your local ssh that is backgrounded. The remote command runs
    in the foreground. Try

        ssh remotemachine command >/dev/null 2>/dev/null \&

    or even,

        ssh remotemachine command \>/dev/null 2\>/dev/null \&

    to make the redirections to /dev/null happen on the remote machine too.


  • Next message: Darren Tucker: "Re: OpenSSH 3.6.1p1 and AIX 4.3"