Re: daemonize ssh tunnel
- From: Ron Eggler <ronDOTeggler@xxxxxxxxxxxxxx>
- Date: Wed, 16 May 2012 16:04:16 -0700
J.O. Aho wrote:
On 16/05/12 20:53, cerr wrote:
J.O. Aho wrote:
On 16/05/12 05:51, Ron Eggler wrote:That doesn't actually seem to work, I'm getting this
Hi,
Is there a possibility to daemonize a rteverse ssh tunnel command or
put it somehow in the background anyways?
I invoke it with a command like
ssh -R 19999:localhost:22 sourceuser@xxxxxxxxxxxx
which occupies one shell until it's terminated
Use the option -f
$ ssh -R reg@xxxxxxxxxxxx -f
Cannot fork into background without a command to execute.
Try this one:
ssh -R 19999:localhost:22 -f -N 19999:localhost:22
The remote machine needs to support protocol 2.
Great, Thank you! :)
.
- References:
- daemonize ssh tunnel
- From: Ron Eggler
- Re: daemonize ssh tunnel
- From: J.O. Aho
- Re: daemonize ssh tunnel
- From: cerr
- Re: daemonize ssh tunnel
- From: J.O. Aho
- daemonize ssh tunnel
- Prev by Date: Re: daemonize ssh tunnel
- Next by Date: buildroot issue (packages not available after compilation)
- Previous by thread: Re: daemonize ssh tunnel
- Next by thread: buildroot issue (packages not available after compilation)
- Index(es):
Relevant Pages
|