Re: cannot ssh to localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

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

 



> I still can't reproduce doing it this way on a new VM.   How about checking the
> selinux contexts?
>
> [egreshko@f26-b14 .ssh]$ ll -Z *
> -rw-------. 1 egreshko egreshko unconfined_u:object_r:ssh_home_t:s0  398 Jun 21 01:35
> authorized_keys
> -rw-------. 1 egreshko egreshko unconfined_u:object_r:ssh_home_t:s0 1675 Jun 21 01:34
> id_rsa
> -rw-r--r--. 1 egreshko egreshko unconfined_u:object_r:ssh_home_t:s0  398 Jun 21 01:34
> id_rsa.pub
> -rw-r--r--. 1 egreshko egreshko unconfined_u:object_r:ssh_home_t:s0  171 Jun 21 01:35
> known_hosts

Interesting, I have home_root instead of ssh_home. What does that
mean? Does it mean that I created the .ssh directory as root, then
chown it which is possible?
I am totally unaware about selinux. Each time I hear about it, it is
because I have a problem. I guess when it is useful, I do not see it.

-r--------. 1 fred fred unconfined_u:object_r:home_root_t:s0  386
2017-06-20 17:59 authorized_keys
-r--------. 1 fred fred unconfined_u:object_r:home_root_t:s0 1.8K
2016-11-17 08:44 fred-rsa
-r--------. 1 fred fred unconfined_u:object_r:home_root_t:s0  386
2017-06-20 14:16 fred-rsa.pub
lrwxrwxrwx. 1 fred fred unconfined_u:object_r:home_root_t:s0    8
2017-06-20 17:59 id_rsa -> fred-rsa
lrwxrwxrwx. 1 fred fred unconfined_u:object_r:home_root_t:s0   12
2017-06-20 17:59 id_rsa.pub -> fred-rsa.pub
-rw-------. 1 fred fred unconfined_u:object_r:home_root_t:s0  882
2017-06-20 15:19 known_hosts

Frédéric
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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