Re: Problems getting rsync over SSH without password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/10/21 Rick Stevens <ricks@xxxxxxxx>:
> 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

Okay, my F11 instillation did not have a .ssh directory, so I am getting :-

[root@yyy ~]# ls -lZd .ssh
drwx------. root root unconfined_u:object_r:admin_home_t:s0 .ssh
[root@yyy ~]# ls -lZ .ssh
-rw-r-----. root root unconfined_u:object_r:admin_home_t:s0 authorized_keys
-rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0
datacomms-net-key.pub
-rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 known_hosts

How do I go about changing the unconfined_u's to system_u ?

Thanks,

Aaron



> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
> - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
> -                                                                    -
> -   Whoever said "Money can't buy friends" obviously never brought   -
> -                        donuts to the office.                       -
> ----------------------------------------------------------------------
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux