Where WinSCP saving public key from visited servers?

Advertisement

Pavel Muller
Guest

Where WinSCP saving public key from visited servers?

Hi,
I want to ask: Where WinSCP saving public key from visited servers? For example putty saving public keys in registry.
Thanks and sorry for my terrible english.

Reply with quote

Advertisement

Pavel Muller
Guest

I found out that WinSCP save into registry(I found WinSCP, but it is under Martin Prikryl) too, but Im dont understand the format this value. The value is following:
0x23,0xa84b4ec03da8bb69c796d0aa04ed00dacd70921822f905a9358d372eef888f86ceeb204
53b55a8ca6a47cc6c06787e7f77aac2f9b4733f324987b83402463a3fdb784b40b0afaf7e31758
151e97a3ea4d0a4a22ab97423d10cfbe6f024917c9c64f3233dc8efec968ce70da6f6ccf9b6a25
41a106ab2e883ae7e8e61cda6c18d8eb46cfd13258de31fb5ecdfa8c894b092e1ed75982bd0a47
87eded41f8b1fadf54a31f42e7811e340b7f51fd6bf44eed6e61bf20aa74086ab806054b813af2
763aaf57c644107d2cc52754eb558d90d3df721eae2f626ee4221a3855bdcd0598753ee62759f7
f16b142c2bc54d74e0ce964ce2f3677b9d00a3d152b75ed2ffb
Can you explain me what does mean "0x23". This is some system information? Is the key this sequence "a84b4ec....."? And the "0x" means hexadecimal value. Do I understand it rightly?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

I do not remember myself anymore. I would have to look it up. What do you need it for?
_________________
Martin Prikryl

Reply with quote

Pavel Muller
Guest

Because when I will add public keys to trusted public keys (for example in Linux), so I need to know this keys. If is the value which I wrote ("a84b4ec0...") public key then my problem is solve.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Do you mean known_hosts file? I do not think it uses the same format.
_________________
Martin Prikryl

Reply with quote

Pavel Muller
Guest

Yes I mean known_hosts file... I want get public key from registry (Windows) to known_hosts file(Linux). ...the same format? Public key in registry is plain text, isnt?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

With RSA (your case), the first shorter 0xXXX part is exponent, the second longer part 0xXXX is modulus.
_________________
Martin Prikryl

Reply with quote

Pavel Muller
Guest

So that will not easy import this public key (exponent and modulus) to known_host_file, because the "registry format" is not the same format like in known_hosts file.
Thanks for your answer.

Reply with quote

Advertisement

You can post new topics in this forum