SSH: Finding out ECDSA key fingerprint (both server-side & client-side)
Jul 20, 2021 13:15 · 64 words · 1 minute read
Server-side
|
|
Client-side
|
|
Note: If your server does not use the default SSH port 22, you can add the parameter --port <PORT>
before the <SERVER>
part.
Conclusion
SSH fingerprints protect against Man-In-The-Middle (MITM) attacks. Both fingerprints should be equal to be safe against a MITM attack.
Commands are based on this StackOverflow answer.
- You are in control
- My Favorite Shortcuts for VS Code
- Customizing my shell: From bash to zsh to fish
- JSON5: JSON with comments (and more!)
- jq: Analyzing JSON data on the command line
- Get Total Directory Size via Command Line
- Changing DNS server for Huawei LTE router
- Notes on Job & Career Development
- Adding full-text search to a static site (= no backend needed)
- Generating a random string on Linux & macOS