Skip to content

Instantly share code, notes, and snippets.

@NilashishC
Last active June 3, 2019 05:20
Show Gist options
  • Save NilashishC/ab9f209d88673b7a4e8a666e23c01fcb to your computer and use it in GitHub Desktop.
Save NilashishC/ab9f209d88673b7a4e8a666e23c01fcb to your computer and use it in GitHub Desktop.
Verify Fingerprint of Key-Pair generated using AWS:
openssl pkcs8 -in path_to_private_key -inform PEM -outform DER -topk8 -nocrypt | openssl sha1 -c
Verify public key md5 fingerprint:
ssh-keygen -lf ~/.ssh/id_rsa.pub -E md5
Remove a merge commit but keep the actual work
git rebase -i HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment