PuTTY Kommandozeilenparameter
| -load <“sessionname”> | load a saved session |
|---|---|
| -ssh | SSH Protocol |
| -telnet | Telnet Protocol |
| -rlogin | rlogin Protocol |
| -raw | raw Protocol |
| -1 | SSH Version 1 |
| -2 | SSH Version 2 |
| -4 | use IPv4 |
| -6 | use IPv6 |
| -C | enable compression |
| -v | increase verbosity |
| -P | specify a port number |
| -l | specify a login name |
| -pw | specify a password |
| -i <“path/to/private/key”> | specify an SSH private key |
| -X | enable X11 forwarding |
| -x | disable X11 forwarding |
| -m <“path/to/file”> | read a remote command or script from a file |
| -N | suppress starting a shell or command |
| -t | enable pseudo-terminal allocation |
| -T | disable pseudo-terminal allocation |
| -A | enable SSH agent forwarding |
| -a | disable SSH agent forwarding |
| -L, -R and -D | To forward a local port (say 5110) to a remote destination (say popserver.example.com port 110), you can write something like one of these: putty -L 5110:popserver.example.com:110 -load mysession plink mysession -L 5110:popserver.example.com:110 To forward a remote port to a local destination, just use the -R option instead of -L: putty -R 5023:mytelnetserver.myhouse.org:23 -load mysession plink mysession -R 5023:mytelnetserver.myhouse.org:23 To specify an IP address for the listening end of the tunnel, prepend it to the argument: plink -L 127.0.0.5:23:localhost:23 myhost To set up SOCKS-based dynamic port forwarding on a local port, use the -D option. For this one you only have to pass the port number: putty -D 4096 -load mysession |
| -pgpfp | display PGP key fingerprints |
| -cleanup | Remove its registry entries and random seed file from the local machine (after confirming with the user). On multi-user systems, only removes registry entries and files associated with the currently logged-in user. |
Eisscholle.net