![putty as ssh proxy putty as ssh proxy](https://securitymusings.com/wp-content/uploads/2008/09/p2.jpg)
Launch your Putty SSH client and click Session.
#Putty as ssh proxy windows#
AnalogX will use the port 6588 to proxy the Internet connection on the Windows desktop. The idea is to create port 8080 on CentOS Linux server, that will be forwarded to the Windows desktop on port 6588.
#Putty as ssh proxy how to#
This is the solution that I have created that will show you how to solve the scenario above. Most solution on the Internet shows the SSH reverse tunnel method with the assumption that you can SSH to external server on the Internet, and use that tunnel to forward whatever port that you want to use.
![putty as ssh proxy putty as ssh proxy](https://degreesofzero.com/article/ssh-tunnel-on-windows-using-putty/images/putty-configure-screen-02.png)
You are connected to the CentOS Linux server by using Windows desktop and Putty.
#Putty as ssh proxy update#
![putty as ssh proxy putty as ssh proxy](http://www.matusbankovic.com/wp-content/uploads/2015/04/Firefox-proxy-224x300.png)
But I think I need to title this post like that so that Google or other search engine can find it easily. So, unfortunately, to my knowledge your only chance is to use putty along with a netcat-like tool to establish a proxied SSH connection using an SOCKS-5 proxy.Wow. This is already possible in PuTTY using the 'Local' proxy type. This is an indication that an attempt was made to open an SSH session to the SOCKS-5 server. The ability to connect to an SSH server 'A' by first making an SSH connection to an intermediate server 'B' (sometimes called a 'bastion' or 'jump host'), and using that connection to open a tunnel to A's SSH server port. 1.2.: error after reading 1 byte in 0 seconds: unknown SOCKS version 83 in client request If you try to use the -nc argument to open a SOCKS-5 connection your SOCKS server log might show something like this: sockd: info: block(1): tcp/accept ]: 1.2. If you want your local proxy command to make a secondary SSH connection to a proxy host and then tunnel the primary connection over that, you might well want the -nc command-line option in Plink.
![putty as ssh proxy putty as ssh proxy](https://degreesofzero.com/article/ssh-tunnel-on-windows-using-putty/images/putty-configure-screen-03.png)
Putty claims to provide an alternative to the netcat utility via the -nc argument, however the putty documentation states: ncat is such a command and it is able to interact with a SOCKS-5 proxy.įinally, it is tempting to use plink/ putty as the proxy command to avoid the use of multiple tools. The local proxy command is a command issued on the local machine, that will handle the proxy connection (see the documentation about proxy types). The command line argument -proxycmd triggers the use of a so called 'local' proxy connection (see the putty documentation again): > 3.8.3.24 -proxycmd: specify a **local** proxy command The putty GUI allows the configuration of an SOCKS-5 proxy, see putty documentation.Īs correctly stated in the answer, by BlakBat this configuration can be called via command line using the -load argument. You have to use an alternative like ncat for windows, e.g.: putty -p -proxycmd "ncat.exe -proxy-type socks5 -proxy : " It is currently not possible (as of putty v0.74) to route ssh traffic over a SOCKS-5 proxy using putty or plink as the proxy-command on the command line. Even though this is an old thread I would like to add my two cents, as I found it hard to gather all the information necessary to set up a working ssh connection over a SOCKS-5 proxy using putty command line and this thread showed up in my result list. While OpenSSH is probably the most-used implementation of SSH in the world, PuTTY is likely the most-used SSH client for the MS Windows platform.