Showing posts with label putty. Show all posts
Showing posts with label putty. Show all posts

Wednesday, June 18, 2014

How to forward ports with Putty to a remote computer with 2 simple steps

In putty configuration: Connection → SSH → Tunnels:

Here I used a random port 58808:


1) Input "127.0.0.2:58808" to Source port, you can also use "localhost:58808" or "127.0.0.1:58808", depending on compatibility and preference.
2) input "localhost:58808" to Destination,
3) Check "Local" and "Auto", then click "Add".



And you're done!

Now you can connect to your localhost(127.0.0.2) using your defined port and it will forward it to your remote computer.
You can also forward to different and multiple ports, if desired.

Wednesday, January 30, 2013

Generate SSH key to login automatically with putty

Use puttygen.exe to make a private key.
Make .ssh/authorized_keys file and add text ” ssh-rsa ” with spaces,
following the public key from the private key file on one line.
Assign rw permissions only for the owner. $ chmod 600 ~/.ssh/authorized_keys.
Configure putty to use the private key when connecting (Connection -> SSH -> Auth).

More detailed instructions: http://www.tonido.com/blog/index.php/2009/02/20/ssh-without-password-using-putty/