Thursday, August 4, 2011

Configuring an SSH tunnel using PuTTY for Windows

SSH tunneling permits you to establish an encrypted network tunnel between your home machine and remote site. This how-to will help you establish an SSH tunnel with Putty, a free software client. We will be connecting to the computer at 130.225.220.38 (port 80) through the server at tech-globe.net (port 22), using the local port of 8088.

1. Start Putty by double-clicking the Putty icon or opening it through the Start menu.

2. Click "Session." Here you will enter the details of the forwarding server you are connecting to.

3. Enter the address of the server that is running SSH in the Host Name field and the port number in the Port field. In our example, the address is tech-globe.net and the port is 22.

4. Select "SSH." Click "Connection" in the left pane, then "SSH," then "Tunnels." Here you will enter the information regarding the computer you are ultimately connecting to.

5. Enter the port number you wish to use as the local port into the Source Port field. This is the port that you will connect to using the program you wish to tunnel with, and cannot be in use by any other application. In our example this port is 8088.

6. Enter the address of the computer you wish to ultimately connect to followed by a colon and the port number into the Destination text field. In our example, this is 130.225.220.38:80

7. Select "Local," then click "Add."

8. Click "Open" to begin your SSH session. You will be prompted for your username and password.

No comments:

Post a Comment