Skip to content

Instantly share code, notes, and snippets.

@anamorph
Created July 21, 2015 22:10
Show Gist options
  • Save anamorph/2b8a67596963df1d62c2 to your computer and use it in GitHub Desktop.
Save anamorph/2b8a67596963df1d62c2 to your computer and use it in GitHub Desktop.
creating public key from private key
# generates public key form private key where
# $1 is the source private key
# $2 is the ouput public key
#
# created as a reminder ...
ssh-keygen -y -f $1 > $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment