[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help on remote ssh cmd
From: |
Ole Tange |
Subject: |
Re: help on remote ssh cmd |
Date: |
Mon, 8 Jul 2013 15:21:35 +0200 |
Hi Sena.
Please use parallel@gnu.org for support.
For running the same command on remote computers please read:
http://www.gnu.org/software/parallel/man.html#example__running_the_same_command_on_remote_computers
You may also learn something by reading the rest of the examples.
/Ole
On Mon, Jul 8, 2013 at 2:05 PM, p sena <senapati2001@yahoo.com> wrote:
>
>
> Hi Ole,
>
> How do i ssh to lots of hosts and run the same command on all of them. below
> is the version.
> GNU parallel 20101115
> Copyright (C) 2007,2008,2009,2010 Ole Tange and Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> GNU parallel comes with no warranty.
>
> Somehow it shows me same command being run on all of them. So i get the same
> output repeated for all hosts.
>
> For example if i keep string hostname six time on a file and do ssh to 5
> hosts as - cat cmd.txt |parallel --sshloginfile file {}, i get the same
> host's name repeated six times.
>
> Thanks.
- Re: help on remote ssh cmd,
Ole Tange <=
- Re: help on remote ssh cmd, p sena, 2013/07/08
- Re: help on remote ssh cmd, Ole Tange, 2013/07/08
- Re: help on remote ssh cmd, Ole Tange, 2013/07/08
- Re: help on remote ssh cmd, p sena, 2013/07/08
- Re: help on remote ssh cmd, Ole Tange, 2013/07/09
- Re: help on remote ssh cmd, p sena, 2013/07/10
- Re: help on remote ssh cmd, p sena, 2013/07/10
- Message not available
- Message not available
- Re: help on remote ssh cmd, Ole Tange, 2013/07/11