Re: Cannot use ssh without password prompt
Darren Tucker <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <[email protected]> |
This isn't really the place to seek help with this, it would be better directed to the OpenSSH list ([email protected]). Mike Clay wrote: > I am trying to set up a cron job to perform nightly backups from one linux > server to another using rsync. Everything is working fine except that I > cannot get it to work without first prompting for a password, which of > course kills the whole cron idea. Googling, I have found about ten examples > that I have followed. They are all the same. My steps to sync server2 with > server1: [...] > On server1, create .ssh/authorized_keys file containing the public key from > server2 > > Adjust permissions: 700 for .ssh directories on both machines, 600 for > authorized_keys on server1 and the private key on server2 Since this list is about the content of the web pages, try http://www.openssh.com/faq.html#3.14 In particular make sure that the home directory is not group or world writable. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.