Sure, you can know it. The same way you've learnt the rest of the host key.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
The hostkeys were identical.
...or not...I'm not prikryl, so I could be wrong, but I noticed this...
/hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
...as far as I know host keys will not match if the bits are different, you specify 1024 bits & receive 2048 bits.
I also have no idea why it works in CMD & doesn't work the other way. Can you find out how many bits you are getting & is working in CMD? Does the server support both 1024 & 2048 bits?
The hostkeys were identical.
/hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx