Skip to content

Instantly share code, notes, and snippets.

@antoniozh
Created April 23, 2020 12:37
Show Gist options
  • Save antoniozh/46f1e500f8895c913995c40b3c9b696e to your computer and use it in GitHub Desktop.
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.
#!/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