VAMI SFTP backups fail on port 22
search cancel

VAMI SFTP backups fail on port 22

book

Article ID: 366953

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:

When attempting to backup a VCSA via VAMI to an SFTP server hosted on a Windows system, you may observe the following errors in the /var/log/vmware/applmgmt/backup.log file:

First, an ssh error:

ERROR: Failed to authorize local host with command: sshpass

Second, a curl error:

Err: curl: (2) Failure establishing ssh session: -43, Failed getting banner

Resolution

1. Confirm with customer internal Network team that there are no rules blocking ssh sessions on port 22 from vCenter to SFTP server


2. Change the backups from parallel to serial.

Please take a backup of the appliance.conf file before making changes  

           2a. cp /etc/applmgmt/appliance/appliance.conf /storage/appliance.conf.bak

           2b. vi /etc/applmgmt/appliance/appliance.conf

           2c. Change

         
             "fileTransferMode": "parallel",
         

               to

        
             "fileTransferMode": "serial",
      

         2d. Save the file: escape key and :wq!

3. Restart applmgmt: service-control --restart applmgmt

4. Perform backup