Create Putty.exe shortcut, right click Putty Shortcut, properties, target, plus account password port parameters, save, close;
Putty.exe [-ssh |-telnet |-rlogin |-raw] [[Email Protected]]host
Example:putty-ssh-l VAGRANT-PW vagrant-p 2222 127.0.0.1
-V Print version information and exit
-PGPFP print PGP key fingerprints and exit
-V Show verbose messages
-load sessname load settings from saved session
-ssh-telnet-rlogin-raw Force use of a particular protocol
-p Port Connect to specified port
-l user connect with specified username
-batch Disable all interactive prompts the following options only apply to SSH connections:-PW PASSW Login with Speci fied Password
-D [Listen-ip:]listen-port Dynamic socks-based Port forwarding
-l [listen-ip:]listen-port:host:port Forward Local port to remote address
-R [Listen-ip:]listen-port:host:port Forward remote port to local address
-x-x enable/disable X11 Forwarding
-a-a enable/disable Agent Forwarding
-T-T enable/disable Pty Allocation
-1-2 Force use of particular protocol version
-4-6 force use of IPv4 or IPV6
-C Enable compression
-I key private key file for authentication
-m file read remote command (s) from file
-S remote command is a SSH subsystem (SSH-2 only)
-N don ' t start a shell/command (SSH-2 only)
See Https://the.earth.li/~sgtatham/putty/0.70/htmldoc/Chapter3.html#using-cmdline 3.8 The Putty command line.
Shortcut-based Putty password-free login on Windows