Re: sshd Authentication refused

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

 



On 07/13/2010 11:16 AM, David Highley wrote:
> New install of Fedora 13 we get the following /var/log/secure entry when
> we ssh from a Fedora 12 system to the Fedora 13 system:
> Authentication refused: bad ownership or modes for file /home/dhighley/.ssh/authorized_keys

Post the permissions for all entries in the path:

ls -ld / /home /home/dhighley /home/dhighley/.ssh \
   /home/dhighley/.ssh/authorized_keys

For instance:

[gordon@herald:~]$ ls -ld / /home /home/gordon /home/gordon/.ssh 
/home/gordon/.ssh/authorized_keys
dr-xr-xr-x. 25 root   root   4096 Jul 14 09:25 //
drwxr-xr-x. 13 root   root   4096 Jan 26 13:41 /home/
drwxr-xr-x. 96 gordon gordon 4096 Jul 15 08:26 /home/gordon/
drwx------.  2 gordon gordon 4096 Jun 18 15:25 /home/gordon/.ssh/
-rw-r--r--.  1 gordon gordon 1226 Aug 21  2008 
/home/gordon/.ssh/authorized_keys

As far as I know, the rule is that group and others must not have write 
access to any item in the path.  The home directory, .ssh, and 
authorized_keys files must all be owned by the user logging in.
-- 
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