3.8.3.1 -load: load a saved session The -load option causes PuTTY to load configuration details out of a saved session. If these details include a host name, then this option is all you need to make PuTTY start a session. You need double quotes around the session name if it contains spaces.
If you want to create a Windows shortcut to start a PuTTY saved session, this is the option you should use: your shortcut should call something like d:\path\to\putty.exe -load "my session"
(Note that PuTTY itself supports an alternative form of this option, for backwards compatibility. If you execute putty @sessionname it will have the same effect as putty -load "sessionname". With the @ form, no double quotes are required, and the @ sign must be the very first thing on the command line. This form of the option is deprecated.) 3.8.3.2 Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serial To choose which protocol you want to connect with, you can use one of these options:
•-ssh selects the SSH protocol. •-telnet selects the Telnet protocol. •-rlogin selects the Rlogin protocol. •-raw selects the raw protocol. •-serial selects a serial connection. These options are not available in the file transfer tools PSCP and PSFTP (which only work with the SSH protocol).
These options are equivalent to the protocol selection buttons in the Session panel of the PuTTY configuration box (see section
4.1.1
). 3.8.3.3 -v: increase verbosity Most of the PuTTY tools can be made to tell you more about what they are doing by supplying the -v option. If you are having trouble when making a connection, or you're simply curious, you can turn this switch on and hope to find out more about what is happening. 3.8.3.4 -l: specify a login name You can specify the user name to log in as on the remote server using the -l option. For example, plink login.example.com -l fred.
These options are equivalent to the username selection box in the Connection panel of the PuTTY configuration box (see section
4.14.1
).