Lower case
This commit is contained in:
parent
de8ea8bae1
commit
3b5a27f8fd
|
@ -233,10 +233,10 @@ function show_domains {
|
|||
fi
|
||||
|
||||
if [ -f /etc/ssh/ssh_host_rsa_key.pub ]; then
|
||||
W+=("ssh RSA SHA256" "$(awk '{print $2}' /etc/ssh/ssh_host_rsa_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
|
||||
W+=("ssh rsa sha256" "$(awk '{print $2}' /etc/ssh/ssh_host_rsa_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
|
||||
fi
|
||||
if [ -f /etc/ssh/ssh_host_ed25519_key.pub ]; then
|
||||
W+=("ssh ED25519 SHA256" "$(awk '{print $2}' /etc/ssh/ssh_host_ed25519_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
|
||||
W+=("ssh ed25519 sha256" "$(awk '{print $2}' /etc/ssh/ssh_host_ed25519_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
|
||||
fi
|
||||
|
||||
if grep -q "ssh onion domain" "$COMPLETION_FILE"; then
|
||||
|
|
Loading…
Reference in New Issue