SSH - Passing Unix login passwords through shell scripts

Hi All ,
I need to call a script runscript_B.sh on server A, the runscript_B.sh script locating in server B.
The runscript_B.sh in calls another script runscript_A on server A itself.

it seend, i need to be connect from Server A to Server B using ssh.

I have tryed like this in runscript_A.sh.
ssh <user>@<Server>

but it's asking password

I would like to pass the password to "ssh" command using runscript_A.sh

Please help me on this.

Easy my friend.

I will let you enjoy googling yourself for SSH with Keys and if you're still having problems ask us again :slight_smile:

Cheers!

if you can't use keys you might want to try "expect".

Thanks you guys....:slight_smile: