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

shortmort37

Re: Expected host key was not configured, use -hostkey switch.\r\nHost key fingerprint is Authentication

I have this issue – and, I did use the GUI to generate a full script template. But my authentication is still rejected. I've reported the issue here.
arthurzsr

Expected host key was not configured, use -hostkey switch.\r\nHost key fingerprint is Authentication

I'm trying to make an SFTP connection to Winscp via script, but I only get the following error: Message = "Expected host key was not configured, use -hostkey switch. \ R \ nHost key fingerprint is ssh-ed25519 255 asPhtyu2PJhHFf + odPz49fdvugdr5XwfOIc4AD18oto = . \ r \ nAuthentication failed. "
The connection through winscp works, but the connection generating a .bat or C # script does not work. I use the connection with a .ppk certificate
Can someone help me?