rmaicle

Programming is an endless loop; it's either you break or exit.

Licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA).
You are free to copy, reproduce, distribute, display, and make adaptations but you must provide proper attribution. Visit https://creativecommons.org/ or send an email to info@creativecommons.org for more information about the License.

Generate SSH Public Key from Private Key (draft)

Date: 2017-05-31 02:58:46 +0000

Using ssh-keygen, a public key can be generated from a private key.

ssh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub

The -y option reads a private OpenSSH format file and print an OpenSSH public key to stdout. ●

  •  ssh
  •  ssh-keygen
  •  OpenSSH