first, i'd make all of those files mode 600:
cd .ssh
chmod 600 *
on both machines. ssh is picky about that.
second, unless i'm reading something wrong, i think you have
your config backwards.
if "copyroom" is the machine on which backuppc runs, then it
needs no authorized_keys file. a copy of BackupPC_id_rsa.pub
should be in /root/.ssh/authorized_keys2 on every machine being
backed up. in other words, authorized_keys2 is essentially a
list of who is allowed in, as root. you want backuppc in that
list. try simply moving the authorized_keys2 file from copyroom
to DanSuse. i think that's where it's supposed to be.
paul
Here are the server .ssh files:
backuppc < at > copyroom:~/.ssh> ls -la
total 20
drwx------ 2 backuppc users 208 2004-07-01 11:40 .
drwxr-xr-x 3 backuppc root 96 2004-07-01 11:40 ..
-rw-r--r-- 1 backuppc users 227 2004-07-01 11:39 authorized_keys2
-rw------- 1 backuppc users 227 2004-07-01 11:38 BackupPC_id_rsa.pub
-rw------- 1 backuppc users 887 2004-07-01 11:37 id_rsa
-rw------- 1 backuppc users 227 2004-07-01 11:37 id_rsa.pub
-rw------- 1 backuppc users 230 2004-07-01 10:33 known_hosts
And the clients:
DanSuse:~/.ssh # ll
total 13
-rw------- 1 root root 887 2004-07-01 11:18 id_rsa
-rw-r--r-- 1 root root 222 2004-07-01 11:18 id_rsa.pub
-rw-r--r-- 1 root root 694 2004-07-01 10:19 known_hosts
Server console output:
backuppc < at > copyroom:~/.ssh> whoami
backuppc
backuppc < at > copyroom:~/.ssh> ssh -l root DanSuse
Password:
Any other thoughts?
Dan
Paul Fox wrote:
with OpenSSH. Running SuSE 9.1. I've followed the instruction in the
manual (pg. 15) for setting up ssh, but I consistantly get a password
challenge from the client. If I put the root password in, I get logged
in. The keys are correct and in the correct places (according to the
BackupPC documentation). I followed the instructions to the letter.
are you sure the permissions and ownership on all of the .ssh/* files
is correct?
When I test by doing "ssh -l root clientname", I get a password
challenge every time. If I run BackupPC_dump on the client, I get a
you're doing this as the user backuppc, correct?
paul
=---------------------
paul fox, pgf < at > foxharp.boston.ma.us (arlington, ma, where it's 66.7 degrees)
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit
www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
--
Dan Weisenstein
General Manager
Tesoro Electronics
715 White Spar Road
Prescott, AZ 86303
928-771-2646
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit
www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
=---------------------
paul fox, pgf < at > foxharp.boston.ma.us (arlington, ma, where it's 66.9 degrees)
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit
www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/