Re: Using Putty Command Line, -m option, problems...

Puppetman_at_somewhere.com
Date: 07/17/03


Date: Thu, 17 Jul 2003 06:00:28 GMT

On 16 Jul 2003 09:29:25 +0100 (BST), Jacob Nevins
<jacobn@chiark.greenend.org.uk> wrote:

Heh - thanks. You'd never know that from the documentation:

3.7.3.6 -m: read a remote command or script from a file

The -m option performs a similar function to the "Remote command" box
in the SSH panel of the PuTTY configuration box (see section 4.17.1).
However, the -m option expects to be given a 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.

I guess the word "remote" was in there often enough to make me think
it was the remote file...

Anyway, thanks for the info...

David.



Relevant Pages

  • SSH and remote commands
    ... I have a script to run tripwire remotely an several hosts. ... I need the tripwire remote command to finish before going on to the ... Client:OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f ...
    (comp.security.ssh)
  • Re: SSH and remote commands
    ... > out how to get the script to work correctly so here it goes anyway. ... > Once the ssh line is ran, the ssh session never closes completely so ... > I need the tripwire remote command to finish before going on to the ...
    (comp.security.ssh)
  • Re: [opensuse] Re: Howto call and execute a remote script in bash? Is it rsh or nothing?
    ... Am I stuck with rsh? ... Is there a reason why your local script can't use ssh to ... run the remote command: ...
    (SuSE)
  • cluster monitorng
    ... Is there any tool that helps monitor cluster status ... with mail alerts? ... Or a remote command line to check status using a script? ...
    (microsoft.public.windows.server.clustering)