PuTTY command line options
Sun May 3 6:11 pm EDT 2026
-load session_name
The -load switch applies a saved session to the current connection.
putty.exe -load session_name username@domain.com
-i private_key_file
The -i option specifies an SSH private key file for authentication.
putty.exe -i private_key_file.ppk username@domain.com
-P port_number
The -P switch specifies a port number for the current connection.
putty.exe -P port_number username@domain.com
-pw password
The -pw option provides the program with a password for the login.
putty.exe -pw password username@domain.com