On Thu, 31 Oct 2002, christopher j bottaro wrote:
> i've been using linux for like 2.5 years now and i've always wondered
> about this question. is there any way i can log into a remote computer
> via ssh, start a command, then kill the sshing shell and have the
> command still be running on the remote machine?
ssh -f user@hostname 'foo.sh &'
While ssh will in fact be running in the background, the background
process on the remote will not stop even if ssh terminates. If you wantr
to capture the output from the background process, use nohup instead of
simply backgrounding it.
--
"Whenever I feel blue, I start breathing again."
- Unknown
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list