Re: Passphrase still needed although private key exists

From: Matthew Poole (spam_at_stops.here)
Date: 10/13/05


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."


Relevant Pages

  • How can I restrict incoming root rsync over ssh to specified command?
    ... will use rsync over ssh to pull certain directories from the ssh ... Here's an example of the command, ... Even with the server locked up in a room with no user ...
    (comp.os.linux.security)
  • Re: How safe are FTP servers?
    ... decent server software with a good track record, ... that rsync can run transparently over a few protocols, including SSH ... Just to clarify, rsync uses it's own rsync protocol over SSH, stuffed ... server if you then use something like Basic HTTP authentication as well - ...
    (comp.os.linux.security)
  • Rsync problem
    ... In our Institut i was able to use rsync with ssh for backup my data from PC to linux server. ... debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "keyboard-interactive" to ...
    (comp.security.ssh)
  • Re: Secure File Transport
    ... rsync is also very cool. ... repositories via IP address or hostname easily, too, so it's quite useful ... based access" sort of way, it's effectively running on top of rsh or SSH, ... your operating system if you use SSH is to do chroot cages on the server. ...
    (comp.unix.misc)
  • Re: Secure File Transport
    ... rsync is also very cool. ... repositories via IP address or hostname easily, too, so it's quite useful ... based access" sort of way, it's effectively running on top of rsh or SSH, ... your operating system if you use SSH is to do chroot cages on the server. ...
    (comp.security.misc)