John,
No licence? I'm not allowed to use it?
I guess it's public domain by default.
Why not a non-noncontroversial BSD-type licence? No warranty, use as you
wish at your own peril.
They're just 30-40 line scripts.
Mike MacIsaac [EMAIL PROTECTED] (845) 433-7061
On Sun, 15 Jul 2007 09:12:02 -0400
Michael MacIsaac [EMAIL PROTECTED] wrote:
John,
No licence? I'm not allowed to use it?
I guess it's public domain by default.
The default is no permission at all, not public domain.
Also be aware in some jurisdictions public domain doesn't imply no
Hello,
There is a small tool for this. sshpass
http://sourceforge.net/projects/sshpass/
#!/bin/bash
for i in `cat server.list`
do
sshpass -p passw0rd ssh [EMAIL PROTECTED] sudo faillog
done
Regards,
Jae-hwa
2007/7/13, Michael MacIsaac [EMAIL PROTECTED]:
Hello list,
Does anyone have a
Hello,
Thanks to all who replied. The info was helpful. I decided the task was
too cumbersome to always type from the command line, and also
straightforward enough to write some scripts. So I wrote two scripts: dssh
(to issue commands) and dscp (to copy files) to multiple Linux systems.
First
Michael MacIsaac wrote:
Does anyone have a simple wrapper around SSH to run the same command on
multiple Linuxes?
Michael, I use rdist for this. With rdist, I have the ability:
1) send files to a list of hosts.
2) kick off commands to that list of hosts, can even have particular
files
If xargs (especially -P; I didn't know that!) doesn't work, life gets
a lot more complicated.
I found a discussion on Slashdot about this from 2003; it mentions a
Sourceforge project to make a dsh that's vanished, and something
called distribulator that looks promising. See:
On Jul 13, 2007, at 1:46 PM, Ted Rodriguez-Bell wrote:
Cfengine is a brilliant piece
of work, but this isn't quite the problem for which it was built.
Don't even get me started.
Cfengine is fine when it's working.
The problem is, its error messages range from misleading to outright
Michael MacIsaac wrote:
The code is lightly tested, almost certainly has bugs, no warranties, no
license,
No licence? I'm not allowed to use it?
Why not a non-noncontroversial BSD-type licence? No warranty, use as you
wish at your own peril.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]
Ted Rodriguez-Bell wrote:
Ted
I think you're doing something odd; I hit reply and Seamonkey wanted
to send the email to you. Pls check your email settings.
If xargs (especially -P; I didn't know that!) doesn't work, life gets
a lot more complicated.
I found a discussion on Slashdot about this
Hello list,
Does anyone have a simple wrapper around SSH to run the same command on
multiple Linuxes?
If I have key-based authentication set up from one server to another
server, call it linux01, I can issue the command:
# ssh linux01 ls /root
bin
and see the output from linux01 without
Why not the following (done from the command line here quite often):
for I in linux01 linux02 linux3 linux4 ; do ssh $I 'ls /root' ; done
If you have a lot of penguins swimming around, put the names in a file, one
per line and do it this way:
for I in `cat penguins.list` ; do ssh $I 'ls /root'
On Jul 12, 2007, at 10:44 AM, Michael MacIsaac wrote:
Hello list,
Does anyone have a simple wrapper around SSH to run the same
command on
multiple Linuxes?
Well, it's pretty much just a for loop:
for $i in $hosts; do
ssh $i $cmd
done
Except that you *do* have to be careful about
Sent: Thursday, July 12, 2007 8:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] Wrapper around SSH to run command on mutliple Linuxes?
Hello list,
Does anyone have a simple wrapper around SSH to run the same command on
multiple Linuxes?
If I have key-based authentication set up from one
-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, July 12, 2007 8:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] Wrapper around SSH to run command on mutliple
Linuxes?
Hello list,
Does anyone have a simple wrapper around SSH to run
- Forwarded by Raymond Higgs/Poughkeepsie/IBM on 07/12/2007 12:27 PM
-
Raymond Higgs/Poughkeepsie/IBM
07/12/2007 12:26 PM
To
LINUX-390@VM.MARIST.EDU
cc
Subject
Re: Wrapper around SSH to run command on mutliple Linuxes?
Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 07/12/2007
RPN01 wrote:
Why not the following (done from the command line here quite often):
for I in linux01 linux02 linux3 linux4 ; do ssh $I 'ls /root' ; done
If you have a lot of penguins swimming around, put the names in a file, one
per line and do it this way:
for I in `cat penguins.list` ; do ssh
.
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, July 12, 2007 8:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] Wrapper around SSH to run command on mutliple
Linuxes?
Hello list,
Does anyone have a simple wrapper
17 matches
Mail list logo