File copy error: Failed to create file system for destination "sftp:/<backup directory>/": NewFs: couldn't connect SSH: ssh: handshake failed: knownhosts: key is unknown;File copy error: Failed to create file system for destination "sftp:/<backup directory>/": NewFs: couldn't connect SSH: ssh: handshake failed: knownhosts: key is unknown;YYYY/MM/DD HH:MM:SS INFO : njh5#####fzyaw4 Attempting to update precheckMessages in secret task-njh5#####fzyaw4 (resourceVersion: 60766404, attempt: 1/10)
VCF Operations
The precheck/backup SFTP flow does not normalize the configured SFTP host's letter case before using it for both ssh-keyscan and the rclone connection. ssh-keyscan writes known_hosts entries with the hostname lowercased, while rclone uses the configured hostname as-is. Since known_hosts matching is case-sensitive, a mixed-case FQDN causes a false negative match
Configure the hostname for the VMSP component backup using lowercase. Refer to Configure an External SFTP Server for VCF Management Services and VCF Automation Backups