Skip to content

Instantly share code, notes, and snippets.

@ixiaohei
Last active November 29, 2018 01:24
Show Gist options
  • Save ixiaohei/98cefce2fcef85a2b85efd7f5b91e0a2 to your computer and use it in GitHub Desktop.
Save ixiaohei/98cefce2fcef85a2b85efd7f5b91e0a2 to your computer and use it in GitHub Desktop.
generate rsa private key

keygen

# use ssh-keygen
ssh-keygen -t rsa -b 4096 -C "comment"

# use openssl
openssl genrsa -out id_rsa.pem 4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment