Error: Unable to find ECDSA host key on <FQDN_OF_BACKUP_SERVER> at port 22 (Error code: 29271)
####-##-##T##:0####.346Z INFO http-nio-xxx.xxx.xx.xx.-exec-147 UI_LOG 5325 - [nsx### comp="nsx-manager" level="INFO" reqId="#####-#####-#####-######" subcomp="manager" username="############] {"user":"S########","message":"Api Errors->","messageData":{"headers":{"normalizedNames":{},"lazyUpdate":null},"status":400,"statusText":"Bad Request","url":"https://#############.#########?action=retrieve_ssh_fingerprint","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://#############.#####.#####api/v1/cluster/backups?action=retrieve_ssh_fingerprint: 400 Bad Request","error":{"httpStatus":"BAD_REQUEST","error_code":29271,"module_name":"backup-restore","error_message":"Error: Unable to find ECDSA host key on fileserver ####.####.#### at port 22 (Error code: 29271)","error_data":{"status":400}}},"level":
Error Message: Failed to configure NSX Backup Schedule for NSX Managers -[<FQDN_OF_BACKUP_SERVER>]
Cause: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) (statusCode:400) => { messages = [], data = => {error_message=Unable tofind ECDSA host key on fileserver <FQDN_OF_BACKUP_SERVER> at port 22, httpStatus=BAD_REQUEST, error_code=29271, module_name=backup-restore}, errorType = INVALID_REQUEST }
VMware NSX 4.2.1
NSX Manager is configured to strictly accept only the "ecdsa-sha2-nistp256" key, where as the destination backup server is offering a "ecdsa-sha2-nistp384" or "ecdsa-sha2-nistp521" key. The bit-lengths (256 vs 384) are different and therefore the TLS Handshake did not complete.
ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key