Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We require to be able to run some script as root from nothing other than an SSH login.

IE, we have root and password, and we need to perform a script action on a bunch of servers.

share|improve this question

closed as not a real question by MadHatter, Sven, ewwhite, Khaled, Bill Weiss Nov 17 '11 at 15:29

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

7  
Ok. What is your question? –  MDMarra Nov 17 '11 at 13:50
    
Not a question. –  d-_-b Apr 17 '13 at 1:45

2 Answers 2

Look for Cluster SSH or Parallel SSH (pssh), I guess that's what you want to do.

share|improve this answer
    
I actually used an SSH2 lib plus script, worked very well and simple which is what we needed, not PSSH blah blah. –  Joshua D'Alton Mar 22 '13 at 14:34
    
@JoshuaD'Alton: So, you come back after 18 months to tell us you disliked an answer to a barely-understandable question where you conveniently ignored requests for clarifications? Please, don't bother next time. –  Sven Mar 22 '13 at 14:40

Password login as root is not a good idea. Make yourself familiar with public key authentication with SSH.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.