helpers: fix ssh-fingerprint
This commit is contained in:
parent
64c08e9f44
commit
12624d77d1
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue