Re: using ProxyCommand
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 13 Dec 2007 10:23:55 -0500
Hello,
I can do
ssh -fN -L 9022:<remote-XServer>:22 <user>@<ssh-server>
ssh -XC -p 9022 localhost
to get a ssh connection with X-forwarding to the remote XServer tunneled
through <ssh-server>. I tried to get the same with
ssh -XC -p 9022 \
-oProxyCommand="ssh -L 9022:<remote-XServer>:22 <user>@<ssh-server>" \
localhost
but this fails. Where do i misunderstand the concept of ProxyCommand?
ssh -XC -oProxyCommand="ssh <user>@<ssh-server> nc %h %p" remote-XServer
There is no longer any need for the indirection of port forwarding. This
requires that you have something like nc (netcat) on ssh-server.
--
Richard Silverman
res@xxxxxxxx
.
- Follow-Ups:
- Re: using ProxyCommand
- From: Wolfgang Meiners
- Re: using ProxyCommand
- References:
- using ProxyCommand
- From: Wolfgang Meiners
- using ProxyCommand
- Prev by Date: using ProxyCommand
- Next by Date: Re: sftp and directory group writable
- Previous by thread: using ProxyCommand
- Next by thread: Re: using ProxyCommand
- Index(es):
Relevant Pages
|
|