Topic "How to get the Host key"

Author Message
abirax
[View user's profile]

Joined: 2008-11-07
Posts: 3
Location: Kuala Lumpur
Hi,
I am new to sftp and its concepts. I want to know how can i get the value of host key of a sftp server to which I am connecting using Winscp in the two formats


AAAAB3NzaC1kc3MAAACBAN/ZdhwrPQdOjPB4gDfDfOgJtoKSnrEB78MteKyI1m+M8p5BWBOumIKeDM7yg8Tu88+b1o9zaS2Duk5yDek4oDUDHCqI/rUthBQylSp/iYEHi9fmvhvd/kJ4tgqOozEEoeRsXlwD3Uoo6oJf+DnpdyrYCvHlAy2axYdstHLgBp5LAAAAFQD3BqZLCFDt5CR5IzsY3H4Nk5rTmwAAAIEAqdVgRya76u9yPHkny6UCfIcY5NiCy3vB18UZ/3Zuo9wOxvWMcXOn8qBr5KuCQnIHL/Jbu+8OYPMP5ii3f6nVWoZazeQNmHgXl1ljF3eV8SEy16l/6h/ImFLW4Lq+Knq9aVyNC4d+3r8P06IPftb3imsvY4lc0eF6SO+UDO206qQAAACBAMuwVy8JMrfUPabsyNsz//TvOFOtvyxlXBUxQImz3WbkK4PGt2YJyYUYZkkvul4l+9Y0QlA8BMFx4PTZnf3p/iz1zSyz+Tsk7XbYWod7m6KeZnNVtTFBh78xuuXO+7HV6HK+lWRTB+SzfjXxIkG6MsD3nnt/vOSLdnq3aTH5pR7s


and

d5:df:7c:78:b3:37:e2:48:87:d2:5a:dd:73:d7:60:72.

I read in the documentation that it is stored in the .ini file or the registry but i couldnot find it can any one help me to get the host key in both these formats

Kind regards
Abir
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
I'm not sure what your first format is, but check:
[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\SshHostKeys]

The second format is fingerprint. It can be found on Server and protocol information dialog.
_________________
Martin Prikryl
abirax
[View user's profile]

Joined: 2008-11-07
Posts: 3
Location: Kuala Lumpur
Hi,
I checked in both the registry(I didnt have the key/ even after creating teh key no values) as well as in command /protocol couldnt find any host key. I am using version 4.1.7.
Any suggestions why this is happening?
Thanks in advance
Abir
abirax
[View user's profile]

Joined: 2008-11-07
Posts: 3
Location: Kuala Lumpur
Sorry to write again. I did get the host keys when I did a fresh installation of the new version. Somehow I dont get it my old machine though i upgraded the version.
Thanks
Abir
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