|Mike Leone on 21 Jul 2010 08:01:20 -0700|
On 7/21/2010 10:51 AM, Paul W. Roach III had this to say:
Check /var/log/secure on the server side for SSHD debug messages -- I believe that's where sshd messages go by default on most systems.
AH HA!Jul 21 09:55:55 phaserv1 sshd: Authentication refused: bad ownership or modes for directory /ftp-area/FileCollector
All the home folders come under the /ftp-area for this server. And all have group W permissions set (so that a job that executes as a specific user can go into each of those home folders and clean them up).
So the perms were drwxrwxr-x 3 FileCollector FileCollector 4096 Jul 21 08:56 FileCollectorThat was it - removing the group WRITE permission allowed SSH to work. So it was a permissions issue, after all. Just not on the .ssh directory, or the authorized_keys file ...
Now, supposing I need that account to have group WRITE permissions (for whatever reason), how would I have told SSH to disregard the perms on the home folder? I ask for future reference only.
Thanks everybody for the help, and sorry for the confusion. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug