View previous topic :: View next topic |
Author |
Message |
newfangled n00b
Joined: 14 Jul 2003 Posts: 20 Location: London, England
|
Posted: Thu Dec 09, 2004 2:50 pm Post subject: CLI control over multiple remote machines |
|
|
Hi I'm looking for advice.. I need to manage 30+ gentoo clients remotely over an ADSL connection. Most of my admin tasks are scripted with cron but I occasionally need to run the same command on every single host. When I'm on the network I usually fire up konsole with 30+ sessions in the window and send the input from one session to all the hosts.
That works fine over the LAN but I'm looking for a more elegant and less bandwidth intensive alternative.
Many thanks |
|
Back to top |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Fri Dec 10, 2004 1:08 pm Post subject: |
|
|
Well you could script part of it:
Code: |
% for myhost in host1 host2 host3; do ssh $myhost command; done
|
This assumes you are using SSH keys and some sort of key management (e.g. keychain). _________________ -David |
|
Back to top |
|
|
gullyg Tux's lil' helper
Joined: 22 Jun 2004 Posts: 105 Location: Edinburgh
|
Posted: Fri Dec 10, 2004 2:40 pm Post subject: |
|
|
This might be what your looking for. _________________ Not Y3K compliant
CPCFF |
|
Back to top |
|
|
|