BackupPC-users

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 22:13:16
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC
From: Akibu Flash <akibuflash AT outlook DOT com>
To: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Date: Mon, 12 Jun 2017 02:02:08 +0000

Thanks @Craig Barratt.  Looks like it is a little bit of both.  When I turned the firewall completely off and ran your command, I got the below.  However, I was never able to get in as it is asking for a root password for Windows and when I enter my password, it rejects it.  Strange, as when I run this command as backuppc “ssh akibu@akibu-desktop” and enter my Windows password, it allows me into the Windows computer.

 

 

 

$ /usr/bin/ssh -v -x -l root akibu-desktop /usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf < /dev/null

OpenSSH_7.4p1 Debian-10, OpenSSL 1.0.2k  26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 19: Applying options for *

debug1: Connecting to akibu-desktop [10.10.10.10] port 22.

debug1: Connection established.

debug1: SELinux support disabled

Could not create directory '/home/backuppc/.ssh'.

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_rsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_rsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_dsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_dsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_ecdsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_ecdsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_ed25519 type -1

debug1: key_load_public: No such file or directory

debug1: identity file /home/backuppc/.ssh/id_ed25519-cert type -1

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10

debug1: Remote protocol version 2.0, remote software version OpenSSH_7.5

debug1: match: OpenSSH_7.5 pat OpenSSH* compat 0x04000000

debug1: Authenticating to akibu-desktop:22 as 'root'

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: algorithm: curve25519-sha256

debug1: kex: host key algorithm: ecdsa-sha2-nistp256

debug1: kex: server->client cipher: chacha20-poly1305 AT openssh DOT com MAC: <implicit> compression: none

debug1: kex: client->server cipher: chacha20-poly1305 AT openssh DOT com MAC: <implicit> compression: none

debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

debug1: Server host key: ecdsa-sha2-nistp256 SHA256:BJndmmiWWaTD7+/ZIckopnp79Q/KlyFl6GVsqIE5mh4

The authenticity of host 'akibu-desktop (10.10.10.10)' can't be established.

ECDSA key fingerprint is SHA256:BJndmmiWWaTD7+/ZIckopnp79Q/KlyFl6GVsqIE5mh4.

Are you sure you want to continue connecting (yes/no)? yes

Failed to add the host to the list of known hosts (/home/backuppc/.ssh/known_hosts).

debug1: rekey after 134217728 blocks

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: rekey after 134217728 blocks

debug1: SSH2_MSG_EXT_INFO received

debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug1: Next authentication method: publickey

debug1: Trying private key: /home/backuppc/.ssh/id_rsa

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: Next authentication method: keyboard-interactive

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug1: Next authentication method: password

root@akibu-desktop's password:

debug1: Authentications that can continue: publickey,password,keyboard-interactive

Permission denied, please try again.

root@akibu-desktop's password:

debug1: Authentications that can continue: publickey,password,keyboard-interactive

Permission denied, please try again.

root@akibu-desktop's password:

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug1: No more authentication methods to try.

Permission denied (publickey,password,keyboard-interactive).

$

 

From: craigb AT gmail DOT com [mailto:craigb AT gmail DOT com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 9:25 PM
To: Akibu Flash <akibuflash AT outlook DOT com>
Cc: General list for user discussion, questions and support <backuppc-users AT lists.sourceforge DOT net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

 

debug1: connect to address 10.10.10.10 port 22: Connection timed out
ssh: connect to host akibu-desktop port 22: Connection timed out

 

Ok, this confirms that ssh to your client does not work.  You need to figure out whether sshd is running on your client, or whether the windoze firewall is blocking port 22 etc.


Craig 

------------------------------------------------------------------------------
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/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC