Topic "Automatically accepting the hostkey"

Author Message
ArulP

Guest


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.
Advertisements
ArulP

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
_________________
Martin Prikryl
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