Monday, September 23, 2019

Putty Tips and Tricks


1. Putty Auto Login into Session with Username and Password
Create a bat file and you can schedule it to run with following command:
C:\tools\putty.exe -load session_name -l your_user_name -pw your_password

Wherein session_name is the saved session name, your_user_name is your SSH login user name and your_password is the password. Change “C:\tools\putty.exe” to the path of your own putty.exe.

You can use this to make the SSH Socks5 VPN even more easier to use with a bat file to become schedule task

2. Putty to Connect to SSH Server for Socks5 VPN Tunneling
YouTube Video:

2.1 Using Username and Password

Some Explanation:
Run Putty saved session from command line with login:
"C:\Program Files\PuTTY\putty.exe" -load "your_saved_session" "[email protected]_server_address" -pw "your_password"

putty -load "13.9.13.89" "[email protected]" -pw "Password1234"

Configure Tunnel on Putty Session or Profile:

Client Machine Socks Proxy Configuration:


2.2 Using Certificate

putty -l "129.213.45.64" [email protected] -i "Oracle Private Key.ppk"


No comments:

Post a Comment