Automated job used to work but now says HOST KEY DOES NOT MATCH KEY FINGERPRINT
I have an automated script that calls WinSCP from the command line and feeds in the hostname and credentials. This worked up until recently. I'm now getting an error that 'Host Key does not match key fingerprint'. I confirmed that I'm able to manually connect to the SFTP site (log attached). Here is the command I send to automate the request:
This is SAS -> calling command prompt -> calling WinSCP
This is SAS -> calling command prompt -> calling WinSCP
C:\Progra~2\WinSCP\winscp.exe sftp://USER_NAME:P@ssW0rd!;fingerprint=ssh-rsa-j76osHAyyc1qPdtHOAPqowZMR59e9NG5UqCNtrGtm6M=@gfts.site.com/sub_dir/