Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jay2807

Host key does not match configured key

I'm using SSIS to upload files to SFTP. I'm using command prompt to execute the WinSCP script. Code is as below:

winscp.com /command  "open sftp://username@sftp.client.com/ -privatekey="H:\Share\CT_SFTPPrivateKey\privatekey.ppk" -hostkey=""ssh-ed25519 256 71yCy6d6qLSxxX5dZ/+99On+8xiDnJ4NG7tXmKiOMik=."""  "put -delete  H:\Share\WorkingFolders\BOPIS\*.csv /sc/production/incoming/segment/" /log="H:\Share\WorkingFolders\BOPIS\WinSCP.log" "exit"


I'm getting Host key does not match configured key exception.
Log file is attached.