I am relatively new to bash scripting. I have been a Windows Admin for 10+ years and script various tasks in windows, but Linux is a different story. So any help you can provide is greatly appreciated.

What I need to do is restart the sshd service on 30 ESX Servers. I certainly will not do this manually, so I can I restart the service on all 30 boxes with one script? the sshd service for esx in located in /etc/init.d/service sshd restart. Also root is disabled from ssh. So I assume I may need to pass credentials as the root user.

Thanks in advance.