Putty.exe[-ssh |-telnet |-rlogin |-raw] [User@]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 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)
For example, the contents of the following bat script:
echo/backup_tomcat.sh > Comd.txt
Echo Exit >> Comd.txt
Putty-ssh-l%user%-pw%pwd%-P%port%%ip%-M comd.txt >> Aa.log
D:\Program Files (x86) \putty>psftp-h
PuTTY Secure File Transfer (SFTP) client
Release 0.63
usage:psftp [Options] [User@]host
Options:
-V Print version information and exit
-PGPFP print PGP key fingerprints and exit
-B file Use specified Batchfile
-BC Output Batchfile Commands
-be don ' t stop batchfile processing if errors
-V Show verbose messages
-load sessname load settings from saved session
-l user connect with specified username
-p Port Connect to specified port
-PW PASSW Login with specified password
-1-2 force use of particular SSH protocol version
-4-6 force use of IPv4 or IPV6
-C Enable compression
-I key private key file for authentication
-noagent Disable use of pageant
-agent Enable use of pageant
-batch Disable all interactive prompts