[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Backing up using scripted ssh + rsync - Help on ssh-agent
- Subject: Re: [cobalt-users] Backing up using scripted ssh + rsync - Help on ssh-agent
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue Oct 2 23:59:04 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
> Hello All,
>
> I have posted this question before and got some interesting answers. Unless
> I misunderstood the answers, I didn't get a satisfactory solution.
>
> I will be using rsync in conjunction with ssh authentication to back up my
> servers using cron scripts. The problem lies in password-less
> authentication.
>
> I DO understand that the public key for the client has to be on the server,
> ssh-agent needs to be invoked as well as ssh-add.
>
> The real problem is where??? If I invoke ssh-agent and ssh-add in my backup
> script there will be a prompt for my passphrase. This seems a catch22.
This article explains how to setup ssh-agent and ssh-add and uses a
bash-based ssh-agent front-end called keychain.
http://www-106.ibm.com/developerworks/opensource/library/l-keyc2/?dwzone=ope
nsource
I'm interested in trying this. Give us a report if you're successful. Good
luck.
HTH,
j