Skip to content

Instantly share code, notes, and snippets.

@MohammedEssehemy
Created December 4, 2018 14:09
Show Gist options
  • Save MohammedEssehemy/f8f8bb03a8112e416d2dbea71605b2e1 to your computer and use it in GitHub Desktop.
Save MohammedEssehemy/f8f8bb03a8112e416d2dbea71605b2e1 to your computer and use it in GitHub Desktop.
# credits: https://serverfault.com/a/426429/452807
PRIVKEY=id_rsa
TESTKEY=id_rsa.pub
diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$TESTKEY" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment