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

abirax

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
abirax

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
martin

Re: How to get the Host key

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.
abirax

How to get the Host key

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