Skip to content

Instantly share code, notes, and snippets.

@robinkanters
Last active March 23, 2017 09:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinkanters/5075872714133778e8e9de1f0d15741b to your computer and use it in GitHub Desktop.
Save robinkanters/5075872714133778e8e9de1f0d15741b to your computer and use it in GitHub Desktop.
generate 2048-bit rsa key (saves them in files names 'key_private' and 'key_public')
openssl genrsa 2048 | tee key_private >(openssl rsa -pubout > key_public) > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment