[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting background process in ssh session

On Thu, Sep 01, 2005 at 03:38:35PM -0700, David Kirchner wrote:
> On 9/1/05, Roberto C. Sanchez <roberto@familiasanchez.net> wrote:
> > However, when I log out of the machine, the ssh process on my local
> > machine blocks.  I guess that it is becuase the remote still has jobs
> > running.  Is there a way to get it start the process in the background
> > and then detach from the shell?  I have already tried this:
> ssh -f should do what you want, and then you don't need to send the
> "&". ssh will still be running, but it will be forked off into the
> background.

Good call.  I had forgotten about that.  I occasionally use it start an
xterm or something on a remote machine and it had slipped my mind.


Roberto C. Sanchez

Attachment: pgpuDNhxSjGck.pgp
Description: PGP signature

Reply to: