F13 new install: can't get ssh pubkey to work
sean darcy
seandarcy2 at gmail.com
Sat Jun 12 02:05:23 UTC 2010
Larry Brower wrote:
> 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.
>>
>> sean
>>
>
>
>
> Have you verified permissions on just /root ?
>
dr-xr-x---. 6 root root 4096 Jun 11 21:05 root
> What is logged in /var/log/secure ?
>
That's the output above, with LogLevel set to debug1.
sean
More information about the users
mailing list