| « ddrescue - Data recovery tool | DD-WRT » |
SSH Tunneling
Putty command line to set up a tunnel (page is here):
Make a ssh connection to the remote machine using dynamic port forwarding. (If the standard ssh port [22] is blocked then some accounts, such as Panix, will allow a ssh connection on another port, such as 80 or 443). For example, on a Windows machine I could connect to Panix by entering the following on the command line:
putty -ssh -D 4096 -P 80 shell.panix.com
In case you are not familiar with Putty* and its command line options I will break that down for you:
-ssh
Use the ssh protocol
-D 4096
Use dynamic port forwarding with 4096 as that port. (You could use any port number you like that is not already in use on your machine).
-P 80
Connect to the server on port 80 (this part may not be needed or your remote machine may not support it)
shell.panix.com
The server you are connecting to. In this example the panix shell server.
Note 1: You can also use the Putty graphical user interface. You do not need to use the command line! Once you have started Putty you can get to the port forwarding section via Connection -> SSH -> Tunnels. Then type 4096 (or any other suitable port number) in the Source Port box, click the Dynamic radio box and click the Add button.
Note 2: If you are using Linux or MacOS/X you could use OpenSSH as follows: ssh -D 4096 -p 80 shell.panix.com