SSH from within OpenSSH
Darren Tucker
dtucker at zip.com.au
Fri Jan 11 19:56:09 EST 2013
On Fri, Jan 11, 2013 at 01:00:25AM -0600, Ben Lindstrom wrote:
>
> You consider using socks proxy?
>
> On your linux box do:
>
> $ ssh -D 8080 user at win2k3server
> Then in another window on the same linux box:
> $ ssh -o ProxyCommand='socat - SOCKS4A:win2kserver:%h:21,socksport=8080' LANB-server
If you're doing things like that you can now use ssh -W (aka "netcat
mode") so you don't need external dependencies or listening ports:
ssh -o "ProxyCommand ssh -W %h:%p user at win2k3server" LANB-server
or the equivalent entry in ~/ssh/config.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list