Re: How to use the acceptnew keyword ?
open sftp://user@example.com/ -hostkey=acceptnew
I've updated the documentation to make this more clear:
https://winscp.net/eng/docs/scriptcommand_open#hostkey
open sftp://user@example.com/ -hostkey=acceptnew
open
command mentions some acceptnew
keyword to make WinSCP automatically accept host key of new hosts. However, I cannot find any information on how and where to actually use that keyword. What is the syntax to be used?