Tim Allen on 2 May 2008 08:30:07 -0700

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

Re: [PLUG] ssh key based authentication

I had a similar problem a few weeks ago. I had a cron job running rsync over
SSH to back up from servers here in Philadelphia to Idaho for backup once an
hour, and noticed it stopped working. It turns out one of my devs changed
the permissions on the grandparent directory by accident while under root
reconfiging apache. The entire tree has to have properly secured permissions
or SSH will fail (and rightly so!).

There's an excellent tutorial with best practices suggestions and
troubleshooting tips on rsync over SSH (and SSH key-gen in general) located
here which I've found useful as this isn't the kind of thing I set up daily:




-----Original Message-----
From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org] On Behalf Of Dan Perez
Sent: Friday, May 02, 2008 10:52 AM
To: Philadelphia Linux User's Group Discussion List
Subject: Re: [PLUG] ssh key based authentication

A couple of people suggested permissions being too lax.  The
permissions on the sprint user's homedir were 777.  I changed them to
755 and it works now.
Thanks so much!

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