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

jackwu

-hostkey=* solved my problem

@Xijamk -hostkey=* solved my problem, many thanks!
Xijamk

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

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

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!