Re: F13 new install: can't get ssh pubkey to work

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

 



On Fri, 2010-06-11 at 21:33 -0400, sean darcy wrote:
> New install of F13.
> 
> drwx------.  2 root root  4096 Jun 11 20:22 .ssh
> 
> ls -l /root/.ssh
> total 12
> -rw-------. 1 root root 1006 Jun 11 20:23 authorized_keys
> 
> 
> The rsa key is in authorized_keys.
> 
> But when I try to login into root:
> 
> Jun 11 21:12:39 new-gateway sshd[1786]: debug1: temporarily_use_uid: 0/0 
> (e=0/0)
> Jun 11 21:12:39 new-gateway sshd[1786]: debug1: trying public key file 
> /root/.ssh/authorized_keys
> Jun 11 21:12:39 new-gateway sshd[1786]: debug1: Could not open keyfile 
> '/root/.ssh/authorized_keys': Permission denied
> 
> 
> /root/.ssh is 700, authorized_keys is 600. I've restarted sshd. I've 
> rebooted.
> 
> So what's my problem.
----
sounds like you created the file elsewhere (or even on another computer)
and moved it into place thereby creating SELinux issue.

look in /var/log/audit/audit.log

grep ssh /var/log/audit/audit.log

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[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