Automatically accepting the hostkey

Advertisement

ArulP
Guest

Automatically accepting the hostkey

Hi,
I have a script which uploads a file to a freshly installed linux machine.when I do that it asks for adding the hostkey to cache. I found that there is a option called '-hostkey<fingerprint>'.I am in a situation where I will not know the ssh fingerprint.Is there any other way to bypass this.

Reply with quote

Advertisement

ArulP
Guest

Automatically accepting the hostkey

Are there any options that I can specify in the script to bypass the authentication of ssh-2,which can be done in the GUI?even this will do for me.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Automatically accepting the hostkey

ArulP wrote:

I have a script which uploads a file to a freshly installed linux machine.when I do that it asks for adding the hostkey to cache. I found that there is a option called '-hostkey<fingerprint>'.I am in a situation where I will not know the ssh fingerprint.Is there any other way to bypass this.
No.

Reply with quote

martin
Site Admin
martin avatar

Re: Automatically accepting the hostkey

ArulP wrote:

Are there any options that I can specify in the script to bypass the authentication of ssh-2,which can be done in the GUI?even this will do for me.
Please read FAQ. If that does not help, come back.

Reply with quote

Advertisement

You can post new topics in this forum