|
|
The Secure Shell (SSH) host key for the SFTP server is missing from the vCenter's trusted hosts file. This file is located at `/root/.ssh/known_hosts`.
This occurs when:
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store APPLMGMT_PASSWORD --text
/usr/lib/vmware-vmafd/bin/vecs-cli entry getkey --store APPLMGMT_PASSWORD --alias location_password_default --output /tmp/backup_pass.txtcat /tmp/backup_pass.txtrm /tmp/backup_pass.txtcurl -u <username>:<retrieved-password> sftp://<server>:22/<path>/ --list-only -vDid not find host <server> in /root/.ssh/known_hosts`ssh-keygen -R <server>ssh-keygen -R <server-ip-address>sftp -oPort=22 <username>@<server>yes` when you see "Are you sure you want to continue connecting (yes/no)?".exit` to close the SFTP session.sshpass -p '<retrieved-password>' sftp -oPort=22 <username>@<server> << EOFpwdexitEOF