But you still have to use
https://winscp.net/eng/docs/ssh_verifying_the_host_key
https://winscp.net/eng/docs/scripting#hostkey
If you are confused about all the keys, see:
https://winscp.net/eng/docs/ssh_keys
And you urgently need to update your copy of WinSCP.
-hostkey
to verify identity of the server.
https://winscp.net/eng/docs/ssh_verifying_the_host_key
https://winscp.net/eng/docs/scripting#hostkey
If you are confused about all the keys, see:
https://winscp.net/eng/docs/ssh_keys
And you urgently need to update your copy of WinSCP.