Double tunnel

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am experimenting with double ssh tunneling and was wondering if it
is possible to do what I want to do, and that is that I would like to
a open an ssh session from my remote machine, but tunnel this to
another server from which I can then execute my application on my

For example, I can fake my IP by doing an

%ssh -D 1020 user@host

then set Firefox to proxy via this.

Is it possible to do the same but for ssh session, I would like to run
mysql shell from my laptop without having to login on to the server.
The problem is that my IP range is not allowed to login, so I was
wandering if I can do this double tunnel ssh?


Re: Double tunnel

Norman schreef:
Quoted text here. Click to load it

Have a look at tsocks ( ). It can intercept socket
calls from applications and transparently sends them over the SOCKS proxy.

If you're only going to use this for mysql, you're better off using
simple port forwarding with ssh -L portno:mysqlhost:portno

Site Timeline