Post a reply

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

josegrande

RE:

I am an idiot. I missed the part that when automating, you add that option to the open command.
josegrande

-hostkey:* not working.

I am using %WinSCPcom% /ini=nul /script=%temp%\sftpcommands.bat -hostkey=*

I get back:
Expected host key was not configured, use -hostkey switch.
Host key fingerprint is ssh-ed25519 256 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=.
Authentication failed.

I am using WinSCP version 5.13.4