3.8 The PuTTY command line
PuTTY can be made to do various things without user intervention by supplying command-line arguments (e.g., from a command prompt window, or a Windows shortcut).
- 3.8.1 Starting a session from the command line
- 3.8.2
-cleanup - 3.8.3 Standard command-line options
- 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,-Rand-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
-agentand-noagent: control use of Pageant for authentication - 3.8.3.10
-Aand-a: control agent forwarding - 3.8.3.11
-Xand-x: control X11 forwarding - 3.8.3.12
-tand-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
-1and-2: specify an SSH protocol version - 3.8.3.17
-4and-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
- 3.8.3.1