Re: Host key does not match configured key
Do you really have
See also https://winscp.net/eng/docs/faq_hostkey#automation
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
in your script? That's for sure not a valid host key fingerprint.
See also https://winscp.net/eng/docs/faq_hostkey#automation