On 30.01.2018 9:38, RAKOTONDRAINIBE Harimino Lalatiana wrote:
So I it seems hat the issue is about DNS lookup error: general failure when I
run ssh .
backuppc@backup:/ % /usr/bin/ssh -v -x -l backuppc localhost /bin/foobar
OpenSSH_7.2p2, OpenSSL 1.0.2k-freebsd 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
....
debug1: Server host key: ecdsa-sha2-nistp256
SHA256:7IBJcg+uURyKkFB/9QuGJoU9tgm4m+gBiiVG44+nvyY
DNS lookup error: general failure
I think it is normal. SSH client attempts to verify keys using DNS. See
VerifyHostKeyDNS in the man ssh_config .
.....
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/backuppc/.ssh/id_dsa
debug1: Trying private key: /home/backuppc/.ssh/id_ecdsa
debug1: Trying private key: /home/backuppc/.ssh/id_ed25519
debug1: No more authentication methods to try.
Here is the problem, it can't authenticate.
Permission denied (publickey).
But it's a bit confusing because as I understand the server connect to himself
when it try to backup the localhost so when the connection can't be set up ?
Regards,
Hari
Why do you need ssh to backup localhost in the first place? You can connect
directly to rsyncd.
------------------------------------------------------------------------------
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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/