3 ms·
When I run `ssh-keygen`, I can remember the options `-t rsa` or `-t dsa`. I simply cannot remember the flag `-t ed25519`. I have to look it up every time. I
by loudmax 2y ago
When I run `ssh-keygen`, I can remember the options `-t rsa` or `-t dsa`. I simply cannot remember the flag `-t ed25519`. I have to look it up every time.
I just remember the flag as being vaguely similar the name of the monster robot from RoboCop.
- homebrewer 2y agoUse shell autocomplete. Even `bash-completion` suggests arguments for the key type these days: $ ssh-keygen -t <TAB> dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa `-sk` is short for "security key" if memory serves me right, and is used with FIDO2 hardware tokens.
- throw0101b 2y ago> When I run `ssh-keygen` As of OpenSSH 9.5 the default has changed, so you don't have to specify anything: * ssh-keygen(1): generate Ed25519 keys by default. Ed25519 public keys are very convenient due to their small size. Ed25519 keys are specified in RFC 8709 and OpenSSH has supported them since version 6.5 (January 2014). * https://www.openssh.com/txt/release-9.5 https://www.openssh.com/txt/release-9.5
- saghm 2y agoOh wow, I didn't know that one! I still manually type `-t ed25519` from muscle memory, I guess I don't have to now