#1 2019-12-29 22:22:58

eyes
Member
Registered: 2018-03-13
Posts: 27

XSI-PRO 11.2.15 Error: The Authenticity of Host Can't be established

Problem:
Backups fail. Keys cannot be exchanged. If anyone has observed this behavior and can provide a work-a-around that would be appreciated.

+++++++++++++++++++++++++++++++++++++++++++++

Source server EXSI 6.7U3. New install of 11.2.15 code. License key added from website to root directory.

+++++++++++++++++++++++++++++++++++++++++++++

Step #1
From GUI: Key Exchange for Transparent communications fails with message:

The Authenticity of  Host (xxxxx) can't be established. RSA Key Fingerprint is SHAxxxxxxxxxx. Are you sure you want to continue connecting (yes/no)? yes

Password:

sed: unmantched '/'

Cannot find an authorized_key file at xxxxx

Tip: you might need to install additional Openssl components, or just create the file for your OS, it usually requires 0600 permissions.

Killed

Observation: No text added to /etc/ssh/keys-root/authorized_key

Step #2
Executed link-srv=1.2.3.4=22
This command succeeds with text added to /etc/ssh/keys-root/authorized_key

Step: #3
Executed backup
App requested password ... very odd.

Step #4:
Backup fails:

stty: standard input
c
[H[J2019-12-29T21:50:33|  ###############################################################################
2019-12-29T21:50:33|     XSIBACKUP-PRO 11.2.15: new execution request                     
2019-12-29T21:50:33|  ###############################################################################
2019-12-29T21:50:33| 

2019-12-29T21:50:33|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs

XSIBackup PID:         12760815                                                       EBNY-2015
Sun, 29 Dec 2019 21:50:33 +0000                                IPv4: 192.168.1.48/255.255.255.0
VMware ESXi 6.0.0 build-2494585                              (c) Rsync 3.1.0 as opt. dependency

Backup Id:                 test                       Intel(R) Xeon(R) CPU E5-2623 v3 @ 3.00GHz

2019-12-29T21:50:34|  Alert: crontab is not installed for user root

2019-12-29T21:50:35|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance

2019-12-29T21:50:35|  Backup user is: root

2019-12-29T21:50:35|  Backup program is: xsidiff

2019-12-29T21:50:37|  Remote OpenSSH version is: 7.9


2019-12-29T21:50:37|  Negotiated Cipher (server->client): aes128-ctr
2019-12-29T21:50:37|  Negotiated Cipher (client->server): aes128-ctr

2019-12-29T21:50:37|  Service OpenSSH ready at server 192.168.1.70:22

2019-12-29T21:50:37|  Remote ESXi version is Permission denied (publickey,password,keyboard-interactive).


2019-12-29T21:50:37|  Info: XSIBACKUP-PRO will now try to determine the remote's XSIBACKUP-PRO installation point...
2019-12-29T21:50:37|  Tip: should this process take too long, use the --remote-xsipath argument to set it

2019-12-29T21:50:38|  Found (c) XSIBackup installation. Remote path is set dynamically

2019-12-29T21:50:38|  Remote xsi path set to: none (filesystem: unknown)

2019-12-29T21:50:39|  Mirroring to server 192.168.1.70 port 22
2019-12-29T21:50:39|  Checking Rsync exists on the other side...

2019-12-29T21:50:39|  (c)Rsync (samba.org) found at [ 192.168.1.70:22:... ]

E-mail Warnings

2019-12-29T21:50:39|  The e-mail report will not be sent because of the followig reasons:
2019-12-29T21:50:39|  The --mail-from string has not been set
2019-12-29T21:50:39|  The --smtp-srv string has not been set
2019-12-29T21:50:39|  The --smtp-port string has not been set
2019-12-29T21:50:39|  The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
2019-12-29T21:50:39|  The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-

2019-12-29T21:50:40|  Getting list of all VMs...

2019-12-29T21:50:40|  11     VEMAIL-58               [datastore1] eMail-58/eMail-58.vmx         sles11_64Guest          vmx-11             
2019-12-29T21:50:41|  113    BBUEM-54                [datastore1] UEM-54/UEM-54.vmx             windows8Server64Guest   vmx-11             
2019-12-29T21:50:42|  122    SightDB-185             [datastore1] tvibe-185/tvibe-185.vmx       sles12_64Guest          vmx-11             
2019-12-29T21:50:43|  129    SightDB-185_XSIBAK      [CORNEAS] SightDB-185/tvibe-185.vmx        sles12_64Guest          vmx-11             
2019-12-29T21:50:44|  130    UNI-201_XSIBAK          [CORNEAS] UNI-201/Unidata-201.vmx          centos64Guest           vmx-11             
2019-12-29T21:50:45|  131    FLR-6_XSIBAK            [CORNEAS] FLR-6/FLR.vmx                    sles11_64Guest          vmx-09             
2019-12-29T21:50:46|  137    intranet-189            [datastore1] intranet-5/intranet-5.vmx     ubuntu64Guest           vmx-11             
2019-12-29T21:50:47|  140    survey-16               [datastore1] survey-16/survey-16.vmx       ubuntu64Guest           vmx-11             
2019-12-29T21:50:49|  141    survey-16_XSIBAK        [CORNEAS] survey-16/survey-16.vmx          ubuntu64Guest           vmx-11             
2019-12-29T21:50:50|  153    Proxy-10                [datastore1] Proxy-10/Proxy-10.vmx         ubuntu64Guest           vmx-11             
2019-12-29T21:50:51|  154    Proxy-10_XSIBAK         [CORNEAS] Proxy-10/Proxy-10.vmx            ubuntu64Guest           vmx-11             
2019-12-29T21:50:52|  155    Notification-4          [datastore1] MM_Notify-4/mm-40.vmx         ubuntu64Guest           vmx-08             
2019-12-29T21:50:52|  158    BBUEM-54_XSIBAK         [CORNEAS] BBUEM-54/UEM-54.vmx              windows8Server64Guest   vmx-11             
2019-12-29T21:50:53|  159    Notification-4_XSIBAK   [CORNEAS] Notification-4/mm-40.vmx         ubuntu64Guest           vmx-08             
2019-12-29T21:50:54|  163    PHISHER-13              [datastore1] phisher-13/phisher-13.vmx     ubuntu64Guest           vmx-11             
2019-12-29T21:50:55|  165    bbb-166                 [CORNEAS] bbb-166/bbb-166.vmx              ubuntu64Guest           vmx-11             
2019-12-29T21:50:56|  168    VEMAIL-58_XSIBAK        [CORNEAS] VEMAIL-58/eMail-58.vmx           sles11_64Guest          vmx-11             
2019-12-29T21:50:58|  7      UNI-201                 [datastore1] Unidata-201/Unidata-201.vmx   centos64Guest           vmx-11             
2019-12-29T21:50:59|  76     FLR-6                   [datastore1] FLR/FLR.vmx                   sles11_64Guest          vmx-09             

2019-12-29T21:51:00|  VMs to backup:

2019-12-29T21:51:00|  163    PHISHER-13              [datastore1] phisher-13/phisher-13.vmx     ubuntu64Guest           vmx-11             

2019-12-29T21:51:06|  Calculating sizes...

2019-12-29T21:51:07|  [PHISHER-13] Starting backup (size is 53010M on 53008M file)

2019-12-29T21:51:07|  XSIBackup will backup your VMs while they are running, so that users can continue to use the VM
2019-12-29T21:51:07|  while the backup is taking place. You can also run --backup-how=cold|warm

2019-12-29T21:51:07|  Hot backup selected for VM: [PHISHER-13], will not be switched off

2019-12-29T21:51:08|  [PHISHER-13] info: boot partition is MBR

2019-12-29T21:51:09|  Removing snapshots, please wait...

2019-12-29T21:51:11|  Syncronizing config files

2019-12-29T21:51:15|  [PHISHER-13] error: cannot copy VMX file, details: Permission denied (publickey,password,keyboard-interactive).


2019-12-29T21:51:15|  [PHISHER-13] error: cannot copy VMSD file, details: Permission denied (publickey,password,keyboard-interactive).


2019-12-29T21:51:15|  [PHISHER-13] info: no .vmxf file found

2019-12-29T21:51:15|  [PHISHER-13] info: no .nvram file found

2019-12-29T21:51:15|  [PHISHER-13] info: VMWare Tools detected, taking snapshot QUIESCED(false)...
2019-12-29T21:51:15|  [PHISHER-13] info: set argument --snapshot=doquiesce to quiesce your VMs

2019-12-29T21:51:35|  Backing up virtual disks...

2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-000001-delta.vmdk
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-000001.vmdk
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-000002-delta.vmdk
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-000002.vmdk
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-Snapshot4.vmsn
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13-Snapshot5.vmsn
2019-12-29T21:51:35|  DISK=/vmfs/volumes/datastore1/phisher-13/phisher-13.vmdk

2019-12-29T21:51:35|  Rsync file transfer (1st)

2019-12-29T21:51:35|  From: /vmfs/volumes/datastore1/phisher-13/phisher-13-000001-delta.vmdk
2019-12-29T21:51:35|  To: /vmfs/volumes/70DELL2019/20191229215033/PHISHER-13/phisher-13-000001-delta.vmdk


2019-12-29T21:51:35|  [PHISHER-13] error CLRSYNC4: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:51:35|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:51:35|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:36|  Rsync file transfer (1st)

2019-12-29T21:52:36|  From: /vmfs/volumes/datastore1/phisher-13/phisher-13-000001.vmdk
2019-12-29T21:52:36|  To: /vmfs/volumes/70DELL2019/20191229215033/PHISHER-13/phisher-13-000001.vmdk


2019-12-29T21:52:36|  [PHISHER-13] error CLRSYNC4: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:36|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:36|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:37|  Info: transfering file | /vmfs/volumes/datastore1/phisher-13/phisher-13-000001-delta.vmdk

2019-12-29T21:52:37|  Info: activate your (c)XSIDiff license to boost transfer speed


2019-12-29T21:52:37|  [PHISHER-13] CLXSIDF1 error: file transfer error: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:37|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:37|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:37|  Disk [/vmfs/volumes/datastore1/phisher-13/phisher-13-000002-delta.vmdk] excluded

2019-12-29T21:52:37|  Disk [/vmfs/volumes/datastore1/phisher-13/phisher-13-000002.vmdk] excluded

2019-12-29T21:52:37|  Rsync file transfer (1st)

2019-12-29T21:52:37|  From: /vmfs/volumes/datastore1/phisher-13/phisher-13-Snapshot4.vmsn
2019-12-29T21:52:37|  To: /vmfs/volumes/70DELL2019/20191229215033/PHISHER-13/phisher-13-Snapshot4.vmsn


2019-12-29T21:52:38|  [PHISHER-13] error CLRSYNC4: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:38|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:38|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:38|  Rsync file transfer (1st)

2019-12-29T21:52:38|  From: /vmfs/volumes/datastore1/phisher-13/phisher-13-Snapshot5.vmsn
2019-12-29T21:52:38|  To: /vmfs/volumes/70DELL2019/20191229215033/PHISHER-13/phisher-13-Snapshot5.vmsn


2019-12-29T21:52:38|  [PHISHER-13] error CLRSYNC4: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:38|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:38|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:39|  Rsync file transfer (1st)

2019-12-29T21:52:39|  From: /vmfs/volumes/datastore1/phisher-13/phisher-13.vmdk
2019-12-29T21:52:39|  To: /vmfs/volumes/70DELL2019/20191229215033/PHISHER-13/phisher-13.vmdk


2019-12-29T21:52:39|  [PHISHER-13] error CLRSYNC4: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:39|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:39|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:39|  Info: transfering file | /vmfs/volumes/datastore1/phisher-13/phisher-13-flat.vmdk

2019-12-29T21:52:39|  Info: activate your (c)XSIDiff license to boost transfer speed


2019-12-29T21:52:40|  [PHISHER-13] CLXSIDF1 error: file transfer error: Permission denied (publickey,password,keyboard-interactive).

2019-12-29T21:52:40|  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2019-12-29T21:52:40|  rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]

2019-12-29T21:52:40|  Excluded disks removed from backup .vmx file

2019-12-29T21:52:58| 

2019-12-29T21:52:58|  Errors detected in backup, check logs

2019-12-29T21:52:59|  Backup finished
2019-12-29T21:52:59|  Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup

XSIBACKUP_EXIT_STATUS=3875_ngm0yzq1ndqtmda0yi01mjewltgwntgtyjdjmdrmmzq1ytmymtu3nzyzoduxmgo

Offline

#2 2019-12-31 17:56:14

admin
Administrator
Registered: 2017-04-21
Posts: 1,362

Re: XSI-PRO 11.2.15 Error: The Authenticity of Host Can't be established

Don't even try to perform a backup from one host to another over IP if you haven't exchanged keys succesfully.
You have plenty of typos in your post, this is misleading because may lead others to think that you are mistyping things in your terminal.

Not "authorized_key" but authorized_keys
Not "link-srv=1.2.3.4=22" but --link-srv=1.2.3.4:22

The exchange key process is extremely simple and doesn't involve anything but two functional OpenSSH servers able to communicate. Once this is possible your public (c)XSIBackup RSA key will be added to the remote authorized_keys file at the remote end, that's all from a conceptual point of view.

You are clearly being denied access to the remote system

Permission denied (publickey,password,keyboard-interactive)

Thus, any further attempt to perform a backup without previously fixing that issue will fail.
Forget about anything else and focus in running this command from 192.168.1.48.

./xsibackup --link-srv=192.168.1.70:22

Run it and paste whatever you get.

Offline

Board footer