3.8.3 Standard command-line options
PuTTY and its associated tools support a range of command-line options, most of which are consistent across all the tools. This section lists the available options in all tools. Options which are specific to a particular tool are covered in the chapter about that tool.
- 3.8.3.1
-load
: load a saved session - 3.8.3.2 Selecting a protocol:
-ssh
,-telnet
,-rlogin
,-raw
-serial
- 3.8.3.3
-v
: increase verbosity - 3.8.3.4
-l
: specify a login name - 3.8.3.5
-L
,-R
and-D
: set up port forwardings - 3.8.3.6
-m
: read a remote command or script from a file - 3.8.3.7
-P
: specify a port number - 3.8.3.8
-pw
: specify a password - 3.8.3.9
-agent
and-noagent
: control use of Pageant for authentication - 3.8.3.10
-A
and-a
: control agent forwarding - 3.8.3.11
-X
and-x
: control X11 forwarding - 3.8.3.12
-t
and-T
: control pseudo-terminal allocation - 3.8.3.13
-N
: suppress starting a shell or command - 3.8.3.14
-nc
: make a remote network connection in place of a remote shell or command - 3.8.3.15
-C
: enable compression - 3.8.3.16
-1
and-2
: specify an SSH protocol version - 3.8.3.17
-4
and-6
: specify an Internet protocol version - 3.8.3.18
-i
: specify an SSH private key - 3.8.3.19
-loghost
: specify a logical host name - 3.8.3.20
-hostkey
: manually specify an expected host key - 3.8.3.21
-pgpfp
: display PGP key fingerprints - 3.8.3.22
-sercfg
: specify serial port configuration - 3.8.3.23
-sessionlog
,-sshlog
,-sshrawlog
: specify session logging - 3.8.3.24
-proxycmd
: specify a local proxy command - 3.8.3.25
-restrict-acl
: restrict the Windows process ACL