Re: (fedora) Re: sshd on F31 : strange problem with login with keys's

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

 



On 2019-11-28 20:50, Jouk Jansen wrote:
>  Ed Greshko wrote on 28-NOV-2019 13:46:10.58
>
>> On 2019-11-28 20:28, Ed Greshko wrote:
>>> If you're suggesting this to be a permission issue on authorized_keys wouldn't it be a good
>>> idea to request the output of "ls -Z ~/.ssh"?
>> Oh, as well as "ls -Zd ~/.ssh"?
>
> vleegert-jj ) ls -Z .ssh
> system_u:object_r:default_t:s0 authorized_keys
> system_u:object_r:default_t:s0 config
> system_u:object_r:default_t:s0 id_rsa.jacobjansen
> system_u:object_r:default_t:s0 id_rsa.jacobjansen.pub
> system_u:object_r:default_t:s0 known_hosts
> system_u:object_r:default_t:s0 known_hosts~
> system_u:object_r:default_t:s0 result.pub
> vleegert-jj ) ls -Zd .ssh
> system_u:object_r:default_t:s0 .ssh
> vleegert-jj )

I would suggest running "restorecon -R ~/.ssh"

Mine appear as so....

[egreshko@meimei ~]$ ls -Z ~/.ssh
unconfined_u:object_r:ssh_home_t:s0 authorized_keys
unconfined_u:object_r:ssh_home_t:s0 authorized_keys.bak
unconfined_u:object_r:ssh_home_t:s0 id_rsa
unconfined_u:object_r:ssh_home_t:s0 id_rsa.pub
unconfined_u:object_r:ssh_home_t:s0 known_hosts

[egreshko@meimei ~]$ ls -Zd ~/.ssh
unconfined_u:object_r:ssh_home_t:s0 /home/egreshko/.ssh


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux