Skip to content

Instantly share code, notes, and snippets.

@mmattice
Created April 12, 2018 03:15
Show Gist options
  • Save mmattice/b2b95c62a3e433e71f0c63ec422b2e4a to your computer and use it in GitHub Desktop.
Save mmattice/b2b95c62a3e433e71f0c63ec422b2e4a to your computer and use it in GitHub Desktop.
sha256 hashed ssh key for Cisco
cut -d ' ' -f 2 .ssh/id_rsa.pub | base64 -d | sha256sum | cut -d ' ' -f 1 | sed 's/..\B/&:/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment