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.

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.