[Clo-devel] Using public key based authentication with ssh (was Re: rsync down)
Raymond Toy
toy.raymond at gmail.com
Wed Oct 8 05:18:47 UTC 2014
>>>>> "Mark" == Mark Evenson <evenson.not.org at gmail.com> writes:
Mark> On 07 Oct 2014, at 05:36, Raymond Toy <toy.raymond at gmail.com> wrote:
>>>>>>> "Mark" == Mark Evenson <evenson.not.org at gmail.com> writes:
>>
Mark> On 10/5/14 16:58, Raymond Toy wrote:
>>>> On 10/5/14 2:18 AM, Mark Evenson wrote:
>>>>> On 10/5/14 0:41, Raymond Toy wrote:
>>>>> As the subject says, rsync appears to be down.
>>>>>
>>>>> I've been using rsync to do periodic backups of ], so can we get
>>>>> rsync restored?
>>>>>
>>>>> Hmmm. The 'rsync' binary is still present:
>>>>>
>>>>> what do you mean by "rsync" is down? Did you use something other than
>>>>> "rsync through ssh connection"?
>>>>>
>>>> Sorry, I should have been clearer. I've had a cronjob for years that
>>>> basically does:
>>>>
>>>> rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot
>>>>
>>>> When I run this now, I get this error:
>>
Mark> Indeed rsyncd is not running as a service.
>>
Mark> Any reason you don't simply change your usage to:
>>
Mark> rsync -avz rtoy at common.lisp.net:/project/cmucl/cvsroot cmucl/cvsroot
>>
Mark> using "rsync over ssh" instead of "rsyncd"?
>>
>> Doesn't that require that I supply my password (or ssh credentials)?
>> I don't know how to do that in a crontab script.
Mark> One would use the public key based authentication scheme. From the ssh(1) manual page:
I am using public key authentication; my c-l.net account has
authorized_keys set up so I can ssh in without using my password
(which I've now forgotten).
But for this to work, don't I have to run ssh-agent/ssh-add? I can't
do that from my cron job.
Am I missing something?
--
Ray
More information about the clo-devel
mailing list