Re: Annoying, Remote command does not quit when ssh does
From: Pierre Asselin (pa@panix.com)
Date: 04/25/03
- Previous message: ColoC: "Re: Non-interactive SSH Login."
- In reply to: Graham Wharton: "Annoying, Remote command does not quit when ssh does"
- Next in thread: Graham Wharton: "Re: Annoying, Remote command does not quit when ssh does"
- Reply: Graham Wharton: "Re: Annoying, Remote command does not quit when ssh does"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: ColoC: "Re: Non-interactive SSH Login."
- In reply to: Graham Wharton: "Annoying, Remote command does not quit when ssh does"
- Next in thread: Graham Wharton: "Re: Annoying, Remote command does not quit when ssh does"
- Reply: Graham Wharton: "Re: Annoying, Remote command does not quit when ssh does"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]