diff options
Diffstat (limited to 'snippets/sh/ssh-check-fingerprint.sh')
-rwxr-xr-x | snippets/sh/ssh-check-fingerprint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/snippets/sh/ssh-check-fingerprint.sh b/snippets/sh/ssh-check-fingerprint.sh new file mode 100755 index 0000000..517fb5b --- /dev/null +++ b/snippets/sh/ssh-check-fingerprint.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +KEY=${1:-$HOME/.ssh/id_rsa.pub} +ssh-keygen -lf "${KEY}" |