Erek Dyskant on 2 May 2008 08:34:39 -0700


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

Re: [PLUG] ssh key based authentication


For those of you who use rsync over ssh for backups, I've found about
1.5x to 2x performance increases by going to the rsync protocol instead
of ssh, or using the rsync protocol tunneled through a VPN.

Turns out that SSH has substantial CPU overhead when using it to send
entire filesystems worth of data.


Cheers,
Erek Dyskant


On Fri, 2008-05-02 at 11:29 -0400, Tim Allen wrote:
> 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:
> 
> http://troy.jdmz.net/rsync/index.html
> 
> Regards,
> 
> -Tim
> 
> -----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

___________________________________________________________________________
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