Created
April 23, 2020 12:37
-
-
Save antoniozh/46f1e500f8895c913995c40b3c9b696e to your computer and use it in GitHub Desktop.
Forgot your public key? Need to find it for your GitKraken setup? Use this script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# #1 should be the path of the private key. | |
ssh-keygen -y -f $1.pub > $1.pub | |
echo "Public key written to : $1.pub" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment