Skip to content

Instantly share code, notes, and snippets.

@jhunt
Last active May 18, 2016 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhunt/5269d95b72deab2372ad1cee6b0d7be1 to your computer and use it in GitHub Desktop.
Save jhunt/5269d95b72deab2372ad1cee6b0d7be1 to your computer and use it in GitHub Desktop.
#!/bin/bash
(echo "-----BEGIN RSA PRIVATE KEY-----";
dd if=/dev/urandom bs=608 count=1 2>/dev/null | base64;
echo "-----END RSA PRIVATE KEY-----") > key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment