Ver código fonte

Show the ssh server public key at the end of installation

Bob Mottram 8 anos atrás
pai
commit
db76d2b45b
2 arquivos alterados com 4 adições e 1 exclusões
  1. 1
    1
      src/freedombone-sec
  2. 3
    0
      src/freedombone-utils-final

+ 1
- 1
src/freedombone-sec Ver arquivo

39
 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
39
 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
40
 for f in $UTILS_FILES
40
 for f in $UTILS_FILES
41
 do
41
 do
42
-  source $f
42
+    source $f
43
 done
43
 done
44
 
44
 
45
 SSL_PROTOCOLS=
45
 SSL_PROTOCOLS=

+ 3
- 0
src/freedombone-utils-final Ver arquivo

54
     echo $"
54
     echo $"
55
     *** ${PROJECT_NAME} installation is complete ***
55
     *** ${PROJECT_NAME} installation is complete ***
56
 
56
 
57
+    If you wish to verify the server ssh public key at next login it is:
58
+    $(get_ssh_server_key)
59
+
57
     Ensure that ports are forwarded from your internet router
60
     Ensure that ports are forwarded from your internet router
58
 "
61
 "
59
     echo ''
62
     echo ''