Command Line to accept any hostkey
Hi, is there a way to accept any hostkey in command line? Because I'm trying to run this script but i'm always receiving the same message :
Yes, I have checked https://winscp.net/eng/docs/faq_scheduler and hostkey documentation but I can't found what I need.
Thanks!
I always want to select "Y". This is because the hostkey are always changing.If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Cancel.
(Y)es, (N)o, C(a)ncel, (C)opy Key: Cancel
Yes, I have checked https://winscp.net/eng/docs/faq_scheduler and hostkey documentation but I can't found what I need.
Thanks!