When attempting to connect to SFTP using the -hostkey flag, and error is received:
Host key does not match configured key
The Hostkey specified in the command does not match the HostKey on the server side
Release : ANY
When connecting to the SFTP through a prompt, an error should return that informs you what the Host key is. In the errors look for a line:
"Host key fingerprint is *"
Copy the value that is where the * is, and replace the used -hostkey value with this value instead.