3.8.3.9 -agent and -noagent: control use of Pageant for authentication
The -agent option turns on SSH authentication using Pageant, and -noagent turns it off. These options are only meaningful if you are using SSH.
See
chapter 9
for general information on
Pageant.
These options are equivalent to the agent authentication checkbox in the Auth panel of the PuTTY configuration box (see
section
4.21.3
).
3.8.3.10 -A and -a: control agent forwarding
The -A option turns on SSH agent forwarding, and -a turns it off. These options are only meaningful if you are using SSH.
See
chapter 9
for general information on
Pageant, and
section 9.4
for information on agent forwarding. Note that there is a security
risk involved with enabling this option; see
section 9.5
for details.
These options are equivalent to the agent forwarding checkbox in the Auth panel of the PuTTY configuration box (see
section
4.21.6
).
These options are not available in the file transfer tools PSCP and PSFTP.
3.8.3.11 -X and -x: control X11 forwarding
The -X option turns on X11 forwarding in SSH, and -x turns it off. These options are only meaningful if you are using SSH.
For information on X11 forwarding, see
section 3.4
.
These options are equivalent to the X11 forwarding checkbox in the X11 panel of the PuTTY configuration box (see
section 4.24
).
These options are not available in the file transfer tools PSCP and PSFTP.
3.8.3.12 -t and -T: control pseudo-terminal allocation
The -t option ensures PuTTY attempts to allocate a pseudo-terminal at the server, and -T stops it from allocating one. These options are only meaningful if you are using SSH.
These options are equivalent to the ‘Don't allocate a pseudo-terminal’ checkbox in the SSH panel of the PuTTY configuration box (see
section 4.23.1
).
These options are not available in the file transfer tools PSCP and PSFTP.
3.8.3.13 -N: suppress starting a shell or command
The -N option prevents PuTTY from attempting to start a shell or command on the remote server. You might want to use this option if you are only using the SSH connection for port forwarding, and your user account on the server does not have the ability to run a shell.
This feature is only available in SSH protocol version 2 (since the version 1 protocol assumes you will always want to run a shell).
This option is equivalent to the ‘Don't start a shell or command at all’ checkbox in the SSH panel of the PuTTY configuration box (see
section 4.18.2
).
This option is not available in the file transfer tools PSCP and PSFTP.
3.8.3.14 -nc: make a remote network connection in place of a remote shell or command