Getting the SSH Key Fingerprint to check against the fingerprints listed in the Unifi Controller

Written by James McDonald

November 21, 2021

When you upload a SSH public key to a Unifi Controller it identifies the key by a fingerprint:

I wanted to know which key I was using and wanted to check my local ssh key fingerprints against the one listed in the controller but found they didn’t match

The reason is ssh-keygen outputs a SHA256 fingerprint but the Unifi Controller displays an MD5 fingerprint.

So you need to use -E md5 to get the md5 fingerprint as in the Unifi Controller UI. You can then identify exactly which local ssh key you have uploaded.

ssh-keygen -lf ~/.ssh/id_rsa.pub
ssh-keygen -E md5 -lf ~/.ssh/id_rsa.pub

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...