Open-SSH has not nativ support for using a proxy to connect.
Using the application ‘corksrew’ it is possible anyway.
Usage is easy. First you will need to install corksrew. Using distributions that are based on Debian (like Ubuntu) just run
|
1 |
apt-get install corkscrew |
in commandline.
After the installation is done we have to add the proxy server to the ssh config – Start your editor of choice using:
|
1 |
editor /etc/ssh/ssh_config |
and add a line which looks (in my case) like that:
|
1 |
ProxyCommand corkscrew <strong>localhost 8118</strong> %h %p |
I am using Tor which runs on my local machine (therefore i used ‘localhost’) on port 8118.
You will have to modify those value fitting to your setup.
Link to this post!