Differences

This shows you the differences between the selected revisions of the page.

2022-10-22 2023-07-03
Restored revision 1608737925. Undoing revision 1666422660. (martin) (hidden) 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.

Last modified: by martin