I am using 2 linux servers, serverA and serverB for example. I am writing a script on serverA to run a couple of commands and then I want the script to automatically ssh over to the serverB to run a couple commands on serverB. How can I do that with a script to ssh over to the serverB and login? If I am on serverA and type ssh (server name) at the command prompt, then it will connect and just ask for my password and it allows me onto my serverA machine. Thanks in advance for any help.