networking:ssh:ssh-keys
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:ssh:ssh-keys [2021/11/09 21:30] – chuck | networking:ssh:ssh-keys [2022/05/07 02:53] (current) – [Links] chuck | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======SSH Key Management====== | ======SSH Key Management====== | ||
| - | This page will assist in setting up and maintaining SSH keys. | + | This page is meant to assist in setting up and maintaining SSH keys. |
| ---- | ---- | ||
| Line 21: | Line 21: | ||
| =====Generating SSH Keys===== | =====Generating SSH Keys===== | ||
| - | + | ====ED25519==== | |
| - | ====RSA==== | + | |
| * Change to '' | * Change to '' | ||
| cd ~/.ssh | cd ~/.ssh | ||
| </ | </ | ||
| - | * Generate | + | * Generate |
| - | ssh-keygen -t rsa -b 4096 -o -a 256 | + | ssh-keygen -t ed25519 |
| </ | </ | ||
| - | * Generate | + | * Generate |
| - | ssh-keygen -f < | + | ssh-keygen -f < |
| </ | </ | ||
| ---- | ---- | ||
| - | ====ED25519==== | + | ====RSA==== |
| * Change to '' | * Change to '' | ||
| cd ~/.ssh | cd ~/.ssh | ||
| </ | </ | ||
| - | * Generate | + | * Generate |
| - | ssh-keygen -t ed25519 | + | ssh-keygen -t rsa -b 4096 -o -a 256 |
| </ | </ | ||
| - | * Generate | + | * Generate |
| - | ssh-keygen -f < | + | ssh-keygen -f < |
| </ | </ | ||
| Line 103: | Line 102: | ||
| Enter new comment: user@newname | Enter new comment: user@newname | ||
| The comment in your key file has been changed. | The comment in your key file has been changed. | ||
| - | </ | ||
| - | |||
| - | ---- | ||
| - | |||
| - | =====Known Hosts File===== | ||
| - | * Remove Key from known_hosts using hostname:< | ||
| - | ssh-keygen -R server-name | ||
| - | </ | ||
| - | * Remove Key from known_hosts using ip address:< | ||
| - | ssh-keygen -R xxx.xxx.xxx.xxx | ||
| </ | </ | ||
| Line 128: | Line 117: | ||
| =====Links===== | =====Links===== | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
networking/ssh/ssh-keys.1636493429.txt.gz · Last modified: by chuck
