Re: [BackupPC-users] Problem with converting to visudo method keys
2010-03-15 22:49:07
Sorry. Indeed, you have to create a backuppc user with /home/backuppc as home in your clients, and in your server if you don't have one yet.
Then generate keys for your server backuppc user: backuppc$> ssh-keygen -t rsa
use ssh-copy-id to copy the pub key to each of the clients backuppc$>ssh-copy-id 192.168.1.106
You don't need to create a BackupPC_id_rsa.pub, you'll use the generated pub key of the server backuppc user.
You may use /var/lib/backuppc as home, or other, by I prefer the former.
Luis
On Mon, Mar 15, 2010 at 10:59 PM, Kenneth L. Owen <tx836519 AT bellsouth DOT net> wrote:
Hi users,
I've been thinking about the response to
ssh -l root 192.168.1.101 whoami
with response of 'root'.
Why? Were you expecting another answer?
When I create the BackupPC key for the visudo method, to where should
BackupPC_id_rsa.pub be copied? If I put it in /root/.ssh, is that not
asking for phraseless root access?
I looked at man ssh and it appears that the BackupPC_id_rsa.pub key
should reside in /home/backuppc/.ssh on the clent. The machine that I
am trying to connect says that user backuppc exists, but it does not
show in System/Administration/Users and Groups, but there is a group
named backuppc listed, but no members assigned.
Several years ago, when I started looking for backup software, I
actually installed the BackupPC software on the client machine to study
the application and setup files. Later, when I was ready to implement,
I purged the software from this machine and installed it on the new
server that would be hosting my archive. The backuppc user and group
are left from the original install. User backuppc has no home on the
client machine and therefore no /home/backuppc/.ssh directory.
If I need a /home/backuppc/.ssh directory, how can I fix this? I can't
see the backuppc user in the GUI Users and Groups application. It won't
let me delete the backuppc group. -- ken
Right. Create the user. No need to delete the group, I think.
On Sun, 2010-03-14 at 18:41 -0400, Kenneth L. Owen wrote:
> Problem with converting to visudo method keys
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev _______________________________________________
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/
|
|
|