Skip to content

Instantly share code, notes, and snippets.

@rot26
Last active September 21, 2018 15:52
Show Gist options
  • Save rot26/d4323eca7a0b2d3019f1e4aeb00cc6fb to your computer and use it in GitHub Desktop.
Save rot26/d4323eca7a0b2d3019f1e4aeb00cc6fb to your computer and use it in GitHub Desktop.
[Get Public key from private key] #ssh
# https://askubuntu.com/questions/53553/how-do-i-retrieve-the-public-key-from-a-ssh-private-key
# Example:
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment