From 44527a82a89f38a8f2c497ceaf7b2c24640b6b26 Mon Sep 17 00:00:00 2001 From: Rob Young Date: Tue, 26 Jul 2016 15:16:42 +0100 Subject: [PATCH] Adds command to show SSH key fingerprint (#935) Adds an ssh-keygen command to show the fingerprint of an SSH key in the same format that is used by Github to list SSH keys that it knows about. --- pages/common/ssh-keygen.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/ssh-keygen.md b/pages/common/ssh-keygen.md index 403bf142e..ebd3482fa 100644 --- a/pages/common/ssh-keygen.md +++ b/pages/common/ssh-keygen.md @@ -22,6 +22,10 @@ `ssh-keygen -l -F {{remote_host}}` +- Retrieve the fingerprint of a key in MD5 Hex: + +`ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}` + - Change the password of a key: `ssh-keygen -p -f ~/.ssh/{{filename}}`