Skip to content

Instantly share code, notes, and snippets.

@zenthangplus zenthangplus/
Last active Jan 15, 2019

What would you like to do?
How to generate RS256 Key Pair for Mac & Linux
#!/usr/bin/env bash
# Generate rsa keys pair
ssh-keygen -t rsa -b 4096 -f rs256.rsa
# Don't add passphrase
openssl rsa -in rs256.rsa -pubout -outform PEM -out
# Done
cat rs256.rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.