When connecting through our commandline I receive the error "Server's host key did not match the signature supplied"
Command we're running
"C:\program files (x86)\winscp\winscp.com" /command "option confirm off" "open username@hostname -privatekey=privatekey.ppk"
confirm off searching for host... connecting to host... Server's host key did not match the signature supplied.
-hostkeyswitch into the
opencommand using every variation of
-hostkey=""ssh-rsa XXXXXXXXX"". All of which results in the same error. How can I get past this issue.