However, when we use the same script using 5.9.3 version it gives the following error:
Host key fingerprint is SSH-RSA 1024 55:61.....
this is the command line we are using to test the connection:
winscp>option batch abort
winscp>option confirm off
winscp>open sftp://martin:email@example.com -hostkey="ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
I cannot find any documentation regarding the 1024 or 2048 options on the ssh-rsa in the host key. Is that the cause of the error?
The new server is a windows server 2012 R2.