Bob Mottram 6 years ago
parent
commit
ce35f1f2b8
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/freedombone-controlpanel

+ 0
- 2
src/freedombone-controlpanel View File

@@ -233,11 +233,9 @@ function show_domains {
233 233
     fi
234 234
 
235 235
     if [ -f /etc/ssh/ssh_host_rsa_key.pub ]; then
236
-        #W+=("SSH RSA Md5" "$(ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub | awk -F ' ' '{print $2}')")
237 236
         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')")
238 237
     fi
239 238
     if [ -f /etc/ssh/ssh_host_ed25519_key.pub ]; then
240
-        #W+=("SSH ED25519 Md5" "$(ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub | awk -F ' ' '{print $2}')")
241 239
         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')")
242 240
     fi
243 241