faq_hostkey » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
| 2020-12-23 | 2023-07-03 | ||
| automatically using target article title for link anchor (martin) | prevent highlighting ssh in path (martin) | ||
| Line 27: | Line 27: | ||
| To display all available host keys, you can use: | To display all available host keys, you can use: | ||
| - | <code bash>for f in /etc/ssh/ssh_host_*_key; do ssh-keygen -l -f "$f"; done</code> | + | <code bash>for f in /etc/<nohilite>ssh</nohilite>/ssh_host_*_key; do ssh-keygen -l -f "$f"; done</code> |
| OpenSSH 6.8 and newer shows SHA-256 fingerprint by default. Older versions use MD5 fingerprint. | OpenSSH 6.8 and newer shows SHA-256 fingerprint by default. Older versions use MD5 fingerprint. | ||