Re: [BackupPC-users] rsync error: unable to read 4 bytes
2008-06-30 15:18:11
Leandro Tracchia wrote:
> i followed the instructions under "How do I setup OpenSSH?" on the
> webpage you provided exactly. i understand after setting up the
> public/private keys i should not be asked for a passphrase when i
> manually log in (after the first time). but i keep getting a
> passphrase prompt every time. backuppc is checking the keys in
> /var/lib/backuppc (there is a .ssh/ folder there). but the intructions
> tell me to store the keys in root's home.
The public part of the key goes in the remote host under /root/.ssh
(i.e. in the home directory of the user you want to run as on the
remote. The private part is in backuppc's home/.ssh - probably
/var/lib/backuppc for you (i.e. the user you are starting the connection
as).
There is a difference between a password and a passphrase. When you
create a keypair you may specify a passphrase that must be manually
entered to access the private key. If you want things to run unattended
you must leave this blank when creating the keypair. If your key setup
is incorrect, you will be prompted for the remote user's password.
--
Les Mikesell
lesmikesell AT gmail DOT com
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|