Command Line to accept any hostkey

Advertisement

Xijamk
Guest

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 :

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

Reply with quote

Advertisement

You can post new topics in this forum