passwordless login from a server to another server

Hi guys

I am logged into one solaris server and I want to ssh other solaris servers and perform some commands. If I use script it asks for password. How to login without supplying password and execute some commands using script? I don want to use expect utility. Please help

If ssh public-key authentication is available, look at ssh-agent and the related documentation.

Hi Johnl,

you can take passwordless entry to another box by using passphrases and authorized_keys.

man ssh

Regards,

Frank