Re: Passphrase still needed although private key exists
From: Matthew Poole (spam_at_stops.here)
Date: 10/13/05
- Next message: Erik Naggum: "Re: Passphrase still needed although private key exists"
- Previous message: Darren Dunham: "Re: Passphrase still needed although private key exists"
- In reply to: Thomas Barth: "Passphrase still needed although private key exists"
- Next in thread: Thomas Barth: "Re: Passphrase still needed although private key exists"
- Reply: Thomas Barth: "Re: Passphrase still needed although private key exists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 14 Oct 2005 08:31:18 +1300
On Thu, 13 Oct 2005 19:40:21 +0200, someone purporting to be Thomas Barth
didst scrawl:
> Hi,
> I want to run rsync and ssh to synchronize a certain directory of a
> server with a local directory. I ve generated a private/public key with
> "ssh-keygen -d" as root. rsync & ssh will be invoked by cron later. The
> two files id_dsa and id_dsa.pub exist in /root/.ssh. I ve copied the
> content of id_dsa.pub to "/home/user/.ssh/authorized_keys" of the
> server. When calling rsync I still have to enter the passphrase. I
> thought ssh compares the private key with the public key automatically.
> Any idea, what my fault is?
>
How are you calling ssh? You ought to be using '-e "ssh -i /root/id_dsa
user@host"' (without the '' but with the "") as an argument on the rsync
command line.
-- Matthew Poole "Don't use force. Get a bigger hammer."
- Next message: Erik Naggum: "Re: Passphrase still needed although private key exists"
- Previous message: Darren Dunham: "Re: Passphrase still needed although private key exists"
- In reply to: Thomas Barth: "Passphrase still needed although private key exists"
- Next in thread: Thomas Barth: "Re: Passphrase still needed although private key exists"
- Reply: Thomas Barth: "Re: Passphrase still needed although private key exists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|