Re: rsync w/ssh
"Gary Hennigan" <glhenni@sandia.gov> writes:
> Why were you thinking you wouldn't be prompted for a password? In
> order to do passwordless ssh you need to do the following:
>
> 1) On your local system run ssh-keygen and use a good passphrase when
> prompted
>
> 2) Copy the contents of ~/.ssh/identity.pub from the local system to
> ~/.ssh/authorized_keys on the remote system.
>
> 3) Make sure your ssh daemon on the remote system has, at least, the
> following in it's configuration file:
>
> RSAAuthentication yes
Forgot 4) Run ssh-add at the beginning of your login session.
Unfortunately I'm not sure what you can do passwordless if you're
talking about running stuff as a cron job. You may have to allow
RhostsAuthentication in order for that to work, and that's not a very
secure solution.
Gary
Reply to: