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

Gian

Hello, I got some suggestions that I was not using parameter -privatekey on my script.
This is the line i was using to connect:
open sftp://user@host -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"


On GUI, i have the ppk key added since I installed Winscp many years ago. But did not notice i had to use -privatekey on my script.
However the script was working fine until I migrated to 5.17.6. Perhaps this new version does require -privatekey field for security?
Gian

winscp batch script ask for password on version 5.17 when I only use username and certificate

Hello,

I just updated Winscp from 5.11 to 5.17. My bath script only use username@server and private ssh certificate. My script used to run OK in 5.11, but after Winscp was updated to version 5.17, the batch ask for password after trying to authenticate with username@server + private ssh certificate. If I launch WinScp GUI, all looks OK. So as a workaround i had to roll-back to 5.11.
Any ideas?