You can automate using ssh. You have to generate the key pair (private and public) and copy the public key on machine you are trying to login without password. The details of how to setup are given in the ssh manual.
Amitay.
On Mon, 2003-04-07 at 10:37, Prashant Parab wrote:
Hi Group, We are using rsh command for file transfer between our two servers. We are using ssh protocol for rsh by using 'rsh -e ssh '. As we are not using certficates for ssh, the ssh daemon ask the password from the user before establishing the connection with the remote server. rsh don't have any facility to embed password in the command itself. The problem starts from here. As we want to automate the whole process we are planning to run the rsh command in the cron jobs. Now in the cron job we cannot enter the password. I think in the shell script i cannot supply the password in the situation like this. Will anybody kindly suggest me a way to overcome this problem, like using any other scripting language or something else.
Thanx and regards,
Prashant Parab