Why should I use the options, -t rsa
, -b 4096
, and -C "[email protected]"
when creating an SSH key, as instructed by github? If I create an SSH key without these options, is it less secure? If so, why?
What frustrates me about these options is that they're hard to remember (is it 4096 or 4095? Which flag went with the number and which went with the "rsa" value? Which flag went in front of my email? Wasn't it an uppercase letter?), and creating new keys can be a frequent activity, for example, if trying out bitbucket and gitlab, and different cloud hosting providers.
[update]
The man page states, "The type of key to be generated is specified with the -t option. If invoked without any arguments, ssh-keygen will generate an RSA key for use in SSH protocol 2 connections."
Why then does the github page specify -t rsa
?
man
command and other documentation is for. – Brozak