[SOLVED] Server's Host Key is Unknown - Hashes do not match.

banderas20

Active Member
Joined
Aug 1, 2018
Messages
102
Reaction score
42
Credits
799
Hi.
I'm trying to setup an SFTP connection between Filezilla client (Windows) and a Debian server.
When I try to establish the connection, Filezilla says:


"Server's Host Key is Unknown"
Details:
Server algorithm: ssh-ed25519 256
Fingerprints: SHA256 and MD5.
I know for sure the server is the right one (it's a home lab).
If I go to the server and issue an


sha256sum /etc/ssh/<whatever file>,
it doesn't give me the same checksum result.
¿What am I doing wrong?
¿How can I know which key is Filezilla checking?


Thanks!
 


Hmm... I don't have a solution. I do have a question. In FileZilla, what's your login type at this screen?

Selection_049.png
 
Hi. My login type is

SFTP (same as your screen)
Login type: Prompt for password.

Thanks!
 
Have you tried using SSH to establish a connection to the Debian box?

I'm not sure which folders hold the keys in Windows, but I'd look for a "matching" key in what's probably a /.ssh type of folder (no clue where that is on Windows) and delete it. It looks like you've stored a key that no longer matches the server. I've had this happen on Linux for reasons unknown and removing the offending existent key solved the issue.
 
Hi!

I already solved this. It was a matter of encoding of the file. If i run ssh-keygen -l <file> (instead of sha256sum) i get the same result as Filezilla tells me.

So this thread can be closed.

Thanks everyone for your support! :)
 
Thanks for letting us know. We don't really close threads (unless needed) but is marked as solved.
 

Members online


Top