Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test if a RSA keypair matches
# http://serverfault.com/a/426429/55687
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
You can’t perform that action at this time.