-3

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.

Joshua D'Alton
  • 428
  • 3
  • 13

2 Answers2

3

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

Sven
  • 98,649
  • 14
  • 180
  • 226
  • 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
-1

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

glglgl
  • 711
  • 1
  • 6
  • 22