E
E
elisey4742016-09-09 14:41:39
linux
elisey474, 2016-09-09 14:41:39

How to find the fingerprint of the ssh server key?

Actually a subject in a question. You need to find out the fingerprint of the ssh server, but not when connected, but on the ssh server itself (ubuntu 16.04/openssh)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2016-09-09
@elisey474

ssh-keygen -l -f <path to the public key of the server>
for example:
ssh-keygen -f /etc/ssh/ssh_host_rsa_key.pub -l

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question