BackupPC-users

Re: [BackupPC-users] back to ssh class, I guess

2017-03-28 14:15:58
Subject: Re: [BackupPC-users] back to ssh class, I guess
From: Richard Shaw <hobbes1069 AT gmail DOT com>
To: bob AT donelsontrophy DOT net, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 28 Mar 2017 13:15:22 -0500
On Tue, Mar 28, 2017 at 12:24 PM, Bob of Donelson Trophy <bob AT donelsontrophy DOT net> wrote:

I now have a functional VM running Ubuntu 16.04LTS and BackupPC 4.0 (from the master) source.

I have "su - backuppc -s /bin/sh" and acquired the "$" prompt.

Generated the keys with "ssh-keygen".

Now when I:

$ ssh-copy-id root at client ipaddress    <<< sanitized for security
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Permission denied (publickey,password).

I have not had a chance to search why, yet.

This works fine with a repo install of BackupPC v3.3.1 on Ubuntu (has been my experience) so, my guess is the repo package dependencies takes care of what is causing this. I know that by default Ubuntu does not allow root ssh access therefore it leads me to believe that the "packaging" sets the ssh access rights to allow the "copy" to work.

How is the old version (v3.3.1) getting around this by not manually adjusting the /etc/ssh/ssh_config of each client to allow root logins?

So, to potentially help someone else with the same problem, I pose the question here. What do I do to correct this?


Could it be using a non-root user and allowing passwordless sudo rsync access?  

Richard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>