Skip to content

Commit ebbe32c

Browse files
committed
Improve layout, footnotes
1 parent 1bf5cc6 commit ebbe32c

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

sub/ssh.md

+15-8
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,37 @@
22

33
## Generate new keypair
44

5-
RSA:
5+
### RSA
6+
67
```bash
78
ssh-keygen -t rsa -a 100 -b 8192
89
```
910

10-
ED25519:
11+
### ED25519
12+
1113
```bash
1214
ssh-keygen -t ed25519 -a 100
1315
```
1416

15-
ED25519 with FIDO authenticator:
16-
* nonresident credentials
17-
* touch required
17+
### ED25519 with FIDO non-resident credentials
18+
19+
* touch required [^ssh_key_passphrase_note]
20+
1821
```bash
1922
ssh-keygen -t ed25519-sk -C "Yubi-W"
2023
```
2124

22-
ED25519 with FIDO authenticator: [^yubi_example]
23-
* resident credentials
24-
* PIN required
25+
### ED25519 with FIDO resident credentials
26+
27+
* PIN required [^ssh_key_passphrase_note] [^yubi_example]
28+
2529
```bash
2630
ssh-keygen -t ed25519-sk -O resident -O verify-required -C "Yubi-SB"
2731
```
2832

33+
[^ssh_key_passphrase_note]:
34+
For SSH keys that are created with a FIDO authenticator, a key passphrase may not be very useful. Instead, private key access can be managed using the physical device (with either touch or a PIN).
35+
2936
[^yubi_example]:
3037
FIDO example with resident credentials derived from [Yubikey article](https://developers.yubico.com/SSH/Securing_SSH_with_FIDO2.html).
3138

0 commit comments

Comments
 (0)