Re: ssh (and maybe rsync) question...
Jeronimo Pellegrini <pellegrini@mpcnet.com.br> writes:
[...]
> The ssh manpage says I may generate a keey pair with ssh-keygen, and
> then put my public key in ~/.ssh/authorized_keys in the remote host,
> so I'd login without having to interact.
>
> I ran ssh-keygen, then copied ~/.ssh/identity.pub to the remote
> side, and changed its name to ~/.ssh/authorized_keys (since there
> wasn't such a file before).
>
> But this doesn't work either, since ssh asks for my new passphrase
> anyway (the one from the new key pair).
Usually, you'd use ssh-agent to remember your passphrase, but I'm not
sure if it will work with a cron job. Otherwise, you can't use a
passphrase; just leave it empty when you generate the keys.
hth,
cbb
Reply to: