From bcfb73ea111bb4a293fc5984b5cf512936ac6b87 Mon Sep 17 00:00:00 2001 From: jacob Date: Wed, 8 Mar 2006 23:16:52 +0000 Subject: [PATCH] Flesh out `-m' caveats slightly. git-svn-id: svn://svn.tartarus.org/sgt/putty@6595 cda61777-01e9-0310-a592-d414129be87e --- doc/using.but | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/using.but b/doc/using.but index bd9e9392..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. -- 2.11.0