ssh-keyscan -t ecdsa localhost
nsx@6876 comp="nsx-manager" errorCode="MP29115" level="ERROR" s2comp="backup-restore" subcomp="manager"] Inventory backup failed with ; BackupAsyncStatus [BackupStatus [status=AUTH_FAILURE, statusDetail=Cannot connect to sftp server. The remote server returned error: status: 255 out: '[Errno 5] Input/output error'., remoteUri=sftp://<destination-backup-server>:22/<path>/inventory-summary, errorCode=null, startTime=##############, endTime=##############]; responseBody=null].
VMware NSX
This issue occurs when there is a permissions issue with the user, the directory or another environmental issue.
To rule NSX in or out, deploy a fresh Ubuntu 20.04 server, no modifications.
Install openssh 'sudo apt install openssh-server'
Create a directory 'mkdir /home/<user>/backup/NSX'
Then configure NSX to use this new server, use the IP address, instead of the FQDN also to avoid possible DNS issue.
This should now work.
If not and there may be security devices in between the NSX manager and the backup server, move the backup server to the same portgroup and subnet as the NSX manager and test again.