X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/9e201f72db4478da43d1b042639e2f294db08239..820934c1774e4a0f9a54a8e1d704cc6f63e2fe8b:/doc/using.but diff --git a/doc/using.but b/doc/using.but index 663aa057..d0b03c4a 100644 --- a/doc/using.but +++ b/doc/using.but @@ -649,11 +649,14 @@ a remote command or script from a file The \i\c{-m} option performs a similar function to the \q{\ii{Remote command}} box in the SSH panel of the PuTTY configuration box (see \k{config-command}). However, the \c{-m} option expects to be given -a local file name, and it will read a command from that file. On -most Unix systems, you can even put multiple lines in this file and -execute more than one command in sequence, or a whole shell script; -but this will not work on all servers (and is known not to work -with certain \q{embedded} servers such as routers). +a local file name, and it will read a command from that file. + +With some servers (particularly Unix systems), you can even put +multiple lines in this file and execute more than one command in +sequence, or a whole shell script; but this is arguably an abuse, and +cannot be expected to work on all servers. In particular, it is known +\e{not} to work with certain \q{embedded} servers, such as \i{Cisco} +routers. This option is not available in the file transfer tools PSCP and PSFTP. @@ -685,6 +688,19 @@ Note that the \c{-pw} option only works when you are using the SSH protocol. Due to fundamental limitations of Telnet and Rlogin, these protocols do not support automated password authentication. +\S2{using-cmdline-agentauth} \i\c{-agent} and \i\c{-noagent}: +control use of Pageant for authentication + +The \c{-agent} option turns on SSH authentication using Pageant, and +\c{-noagent} turns it off. These options are only meaningful if you +are using SSH. + +See \k{pageant} for general information on \i{Pageant}. + +These options are equivalent to the agent authentication checkbox in +the Auth panel of the PuTTY configuration box (see +\k{config-ssh-tryagent}). + \S2{using-cmdline-agent} \I{-A-upper}\c{-A} and \i\c{-a}: control \i{agent forwarding}