Greetings, On Mon, Nov 17, 2014 at 2:33 PM, Hadi Motamedi <motamedi24 at gmail.com> wrote: >> >> Try cssh >> >> > > Thank you for your help. Is there any way to automate an ssh session > on them say write a script to automatically ssh to them via root > password and pass a command to them? Please google for passwordless SSH authentication (Which many list members most likely will disapprove) Request you to try something and post queries when it fails completely with error message etc. http://www.firedaemon.com/blog/passwordless-root-ssh-public-key-authentication-on-centos-6 http://www.itzgeek.com/how-tos/linux/centos-how-tos/password-less-login-ssh-centos-6-rhel-6.html#axzz3JKqkl74g You have been posting queries in this in other lists often without doing your homework. and post a thanks if any solution works out for you as all the members here are voluntary contributors whi are sharing their valuable time and experience. -- Regards, Rajagopal