Skip to content

Instantly share code, notes, and snippets.

@bdiegel
Created January 7, 2016 15:05
Show Gist options
  • Save bdiegel/b6c011c556e0ab50585d to your computer and use it in GitHub Desktop.
Save bdiegel/b6c011c556e0ab50585d to your computer and use it in GitHub Desktop.
Generate public key from private key

How to generate a public key from a private key:

ssh-keygen -y -f /path/to/privatekey > /path/to/publickey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment