Hi,
Joachim Sturm wrote on 27.08.2007 at 13:10:49 [[BackupPC-users] Fatal error
(bad version): Host key verification failed.]:
> [...]
> I copied the file "id_rsa.pub" to my client into /root/.ssh/.
> Then I did "cat ./id_rsa.pub > authorized_keys2" and got the file
> "authorized_keys2".
man cp :-)
> >From my BackupPc-Server I did "ssh [EMAIL PROTECTED]". I confirmed the
> notice.
> It creates a file "known_hosts" within "/root/.ssh/" on my BackuPc-Server
You need to do this as the user BackupPC runs as (probably "backuppc"), not
as root. Alternatively, as root,
install -o backuppc -m u=rw,go= ~root/.ssh/known_hosts ~backuppc/.ssh/
to make root's (current) known_hosts (which includes the key for the host in
question) available to the backuppc user, or even
cat ~root/.ssh/known_hosts >> /etc/ssh/ssh_known_hosts
to affect everyone on the machine. Note that /etc/ssh/ssh_known_hosts needs
to be world readable, so you might need an appropriate chmod if the file did
not yet exist. Also note that if you do put keys in there, you'll need to
keep them up-to-date if they change.
Regards,
Holger
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/