Topic "Command Line to accept any hostkey"

Author Message
Xijamk

Guest


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 :

"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"

I always want to select "Y". This is because the hostkey are always changing.

Yes, i have checked faq_schedule and hostkey documentation but i can't found what i need.

Thanks!
Xijamk

Guest


I don't want to pass the -hostkey command with the fingerprint. I want to accept the new hostkey every time.
Xijamk

Guest


I found the solution to my problem : -hostkey=*
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License