Skip to content

Instantly share code, notes, and snippets.

@emilong
Created December 1, 2017 19:28
Show Gist options
  • Save emilong/8cabd86de10636b3f6bc5f89ee068089 to your computer and use it in GitHub Desktop.
Save emilong/8cabd86de10636b3f6bc5f89ee068089 to your computer and use it in GitHub Desktop.
base64 key fingerprint
awk '{print $2}' /etc/ssh/ssh_host_ecdsa_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment