Last active
November 25, 2015 18:17
-
-
Save codeword/ab70433f1f1494bef2b4 to your computer and use it in GitHub Desktop.
create a 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 -b 4096 -C "comment" -f id_rsa.custom-filename -N '' |
Author
codeword
commented
Aug 10, 2015
- -b increases the key size to 4069 (default is 512 or 1024)
- -t to pic 'rsa' over 'dsa' or others
- -C allows you to name your key better than [user]@[computer name] which shows up at the end of the .pub file
- -f specify filename
- -N '' provide no passphrase for key (so you don't get prompted)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment