Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: cron'ing rsync over ssh

From: Mark Leisher <mleisher(at)crl.NMSU.Edu>
Date: Mon Mar 24 2003 - 12:30:11 EST

    Peter> Mark Leisher writes:
>> 2. Copy the rsync public key file from the backup host to the machines

    Peter> hm, I don't know, but I think you would probably do it like:

    Peter> cat copy-of-rsync-key.pub | ssh $i cat ">>" ~/.ssh/authorized_keys

Sorry. I got sloppy with the syntax. This line works fine:

  # cat copy-of-rsync-key.pub | ssh $i "cat - >> ~/.ssh/authorized_keys"



Mark Leisher
Computing Research Lab                    Let Saddam run a movie studio.
New Mexico State University               He can make bombs there.
Box 30001, Dept. 3CRL                        -- Robin Williams
Las Cruces, NM 88003 Received on Mon Mar 24 12:41:14 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library