Anne Wilson wrote:
The Keychain man page. It specifically says that it must be in the
script
if the script is to be run by a cron job. At least, that's what I
understand it to say.
Well, to be able to ssh to a remote machine without any passwords or
anything like keychain:
1. make sure you have an SSH key, normally ~/.ssh/id_rsa
2. make sure there is no passphrase set on that key; if there is, remove it
(change it to the empty string) using "ssh-keygen -p"
3. make sure your public key (normally ~/.ssh/id_rsa.pub) is listed in
~/.ssh/authorized_keys on the remote server, if not, add it there
4. try ssh to the remote server, it should not ask you for any password or
passphrase
Kevin Kofler