hi people,
I need to run a script in 50 servers.what are the changes needs to be done in ssh configuration.Please guide me.
Thanks in advance
Regards
Amarish Venugopal.
hi people,
I need to run a script in 50 servers.what are the changes needs to be done in ssh configuration.Please guide me.
Thanks in advance
Regards
Amarish Venugopal.
You will most likely need to setup ssh keys for password less logins.
SEE:
Setup SSH Keys Linux |
Then you will need a for loop. See the URL above.
jaysunn
amarishvenugopal (2nd June 2010)
Hey Jason,
new sites looks great man. Did you coded it?
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...
![]()
Never send a boy to do a mans job.
Yeah,
I coded it all. Minus the CMS.
I am using DRUPAL and I am using a cool theme.
Thanks for the feedback.
jaysunn
Cool. That must have taken a lot of time to code. So you need to know php, css, and mysql to make all those changes?
I apologize for temporarily hijacking this thread.
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...
![]()
Never send a boy to do a mans job.
I guess you can say I know it. I consider myself a student that is learning, languages.
I have been studying PHP, PYTHON and PERL. As well as my favorite;
BASH.
jaysunn
@OP: generate ssh keys and put for loop in a script:
Code:servers="server1 server2 server3 server50" for s in $servers do ssh user@$s /path/to/script done
All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]
amarishvenugopal (2nd June 2010), GeeKZ (7th June 2010)
thank u guys for the useful information....
There are currently 1 users browsing this thread. (0 members and 1 guests)