Re: Same problem
@vm11: The only validated property in that statement is
https://winscp.net/eng/docs/faq_hostkey#automation
https://winscp.net/eng/docs/library_sessionoptions#sshhostkeyfingerprint
https://winscp.net/eng/docs/message_key_fingerprint_does_not_match
SshHostKeyFingerprint
. So your $line.sshhostfingerprint
probably does not contain the host key fingerprint in a correct format. See
https://winscp.net/eng/docs/faq_hostkey#automation
https://winscp.net/eng/docs/library_sessionoptions#sshhostkeyfingerprint
https://winscp.net/eng/docs/message_key_fingerprint_does_not_match