Problems getting rsync over SSH without password
Rick Stevens
ricks at nerd.com
Wed Oct 21 17:04:22 UTC 2009
Aaron Gray wrote:
> Hi,
>
> I have two old servers with one mirroring the other using RSYNC over
> SSH. I did this some time ago.
>
> Now coming to replace these servers with two new F11 ones I cannot
> seem to get the it to work without supplying passwords.
>
> I followed my instructions I wrote at the time for RSYNC over SSH, but
> it still asks for a password even though AFAICS I have set up the
> certificates correctly.
>
> Any help or suggestions welcome,
Make sure that the user's .ssh directory has the correct SELinux
contexts as well as correct permissions:
$ ls -lZd .ssh
drwx------. rick rick system_u:object_r:home_ssh_t:s0 .ssh
$ ls -lZ .ssh
-rw-------. rick rick system_u:object_r:home_ssh_t:s0 authorized_keys
-rw-------. rick rick system_u:object_r:home_ssh_t:s0 id_dsa
-rw-r--r--. rick rick system_u:object_r:home_ssh_t:s0 id_dsa.keystore
-rw-r--r--. rick rick system_u:object_r:home_ssh_t:s0 id_dsa.pub
-rw-r--r--. rick rick system_u:object_r:home_ssh_t:s0 known_hosts
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Whoever said "Money can't buy friends" obviously never brought -
- donuts to the office. -
----------------------------------------------------------------------
More information about the fedora-list
mailing list