We are trying to use Solarwind sftp/scp server, we have configured it but cant use for Vmware Vcenter backup. In sftp logs we see that:
2021-09-03 17:33:51,836 [7] INFO SolarWinds.Sftp.Service.Listener - Logon Unknown Authenticated user vcsa-backup from IP 10.26.2.213.
2021-09-03 17:33:51,836 [7] INFO SolarWinds.Sftp.Service.Listener - 10.26.2.213 vcsa-backup 0 stSubsystem sftp Allow
2021-09-03 17:33:51,836 [7] INFO SolarWinds.Sftp.Service.Listener - 10.26.2.213 vcsa-backup 0 stSubsystem subsystem
2021-09-03 17:33:51,882 [7] INFO SolarWinds.Sftp.Service.Listener - DirectoryListing Unknown User vcsa-backup from IP 10.26.2.213 listing directory at "/vCenter/vCenter/sn_v/M_7.0.2.00200_20210903-143255_/".
in vcenter logs we see that:
[MainProcess:PID-29846] [SftpStorageIOLib::_authorizeLocalHost:SftpStorageIOLib.py:174] ERROR: Failed to authorize local host with command: sshpass -f /tmp/tmps5ey6r4q ssh-copy-id -i /root/.ssh/id_rsa.pub -p 22222 -o UserKnownHostsFile=/root/.ssh/br_temp_known_hosts vcsa-backup@10.26.2.74. Will proceed with backup through curl
2021-09-03T14:33:51.638 [20210903-143255-17958471] [MainProcess:PID-29846] [SftpStorageIOLib::_readRemoteRoot:SftpStorageIOLib.py:145] INFO: Executing command to get remote root: ssh -q -p 22222 -i /root/.ssh/id_rsa -o UserKnownHostsFile=/root/.ssh/br_temp_known_hosts vcsa-backup@10.26.2.74 echo ~
2021-09-03T14:33:51.805 [20210903-143255-17958471] [MainProcess:PID-29846] [FtpStorageIOLib::_process_curl_output:FtpStorageIOLib.py:129] ERROR: sftp cmd failed. RC: 79, Err: curl: (79) Could not open directory for reading: Bad message from SFTP server