Created
September 16, 2013 16:12
-
-
Save zeroDivisible/6582823 to your computer and use it in GitHub Desktop.
Generation of secure SSH Key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t rsa -C "email" | |
openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_digitalocean -out ~/.ssh/id_digitalocean | |
# to check if generated correctly | |
cat .ssh/id_digitalocean.pub | |
scp ~/.ssh/id_digitalocean.pub <user>@<yourhost>:.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment