This scripts shows all fingerprints of SSH authorized keys for the root user.
This is usefull when you are checking which key has been accepted in the /var/log/auth.log.
Like:
Mar 9 10:13:08 hnm sshd[1595179]: Accepted publickey for root from 192.168.1.1 port 56726 ssh2: ED25519 SHA256:OLcfsyZasQWbXze7TVirQd42O09YB704i1N8pKOuve5u
# listkeys
256 SHA256:OLcfsyZasQWbXze7TVirQd42O09YB704i1N8pKOuve5u user1@remote-pc1 (ED25519)
256 SHA256:yNVs4yYt1IRV7jRh0PteYmZ0i7PgKUNJJGbgIbJLGIgm user2@remote-pc2 (ED25519)
256 SHA256:6CoCJaSmKLQ9vSgBhz8XH8vjXx8XVIFCOUA9wdJbd6L1 user3@remote-pc3 (ED25519)
256 SHA256:0QYFc7OiUnbOJlpuAsbvIN7KniahUMUmCO2ztZehJ50d user4@remote-pc4 (ED25519)