helpers: fix ssh-fingerprint

This commit is contained in:
madmaurice 2018-06-21 00:22:12 +02:00
parent 64c08e9f44
commit 12624d77d1

View file

@ -33,7 +33,7 @@ ssh-fingerprint() {
SERVER=$1 SERVER=$1
PORT=${2:-22} PORT=${2:-22}
ssh-keygen -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null) ssh-keygen -E md5 -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null)
} }
SAVEDPROMPT="$PROMPT" SAVEDPROMPT="$PROMPT"