So I've tried to copy my RSA key to one of my hosts whilst I was root, and that
worked fine, I could successfully ssh into that host. However, when I switch
users to backuppc, and try to copy the RS key to that same host, I still get
the same error as stated in my previous email.
/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).
$ ssh root@10.16.0.16
I don't know why I cant copy my RSA key to my host whilst I am the backuppc
user?
________________________________
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 05 March 2018 10:54:23
To: backuppc-users@lists.sourceforge.net
Subject: Re: Can't switch users to BackupPC in terminal?
I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me
to switch users to backuppc, however, when I try to copy the RSA key to my
hosts I'm getting...
/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).
________________________________
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 05 March 2018 09:00:52
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Can't switch users to BackupPC in terminal?
I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?
I've tried...
su - backuppc
but it just keeps going back to the terminal, it never switches users.
I've tried adding hosts via the GUI, and for some reason, the backups are
failing giving the same error message...
2018-03-05 09:00:01 Can't find host
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2> via NS and netbios
2018-03-05 09:00:01 can't ping (client =
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2>); exiting
Not sure what I'm doing wrong?
------------------------------------------------------------------------------
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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/