network:ssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network:ssh [2022/07/01 20:10] – added yubico ssh keygen section rene | network:ssh [2024/11/29 20:27] (current) – passphrase change and no host check rene | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ssh < | ssh < | ||
| </ | </ | ||
| - | + | ||
| + | === SSH no host check === | ||
| + | < | ||
| + | ssh < | ||
| + | </ | ||
| === Create SSH key pair === | === Create SSH key pair === | ||
| < | < | ||
| Line 24: | Line 29: | ||
| === Create SSH key pair with Yubikey === | === Create SSH key pair with Yubikey === | ||
| Prerequsites: | Prerequsites: | ||
| - | * openssh v8+ | + | * openssh v8.2+ |
| * yubikey fw v5.2.3+ | * yubikey fw v5.2.3+ | ||
| - | * libfido2 lib installed | + | * libfido2 lib installed |
| Check openssh version. | Check openssh version. | ||
| Line 40: | Line 45: | ||
| Create the key-pair | Create the key-pair | ||
| < | < | ||
| - | ssh-keygen -t ed25519-sk -C "< | + | ssh-keygen |
| </ | </ | ||
| + | === Change key comment === | ||
| + | < | ||
| + | ssh-keygen -c -C "< | ||
| + | </ | ||
| + | |||
| + | === Change passphrase === | ||
| + | < | ||
| + | ssh-keygen -p -f ~/ | ||
| + | </ | ||
| === GIT Specify Key === | === GIT Specify Key === | ||
network/ssh.1656699003.txt.gz · Last modified: 2022/07/01 20:10 by rene