Browse Source

Show the ssh server public key at the end of installation

Bob Mottram 8 years ago
parent
commit
db76d2b45b
2 changed files with 4 additions and 1 deletions
  1. 1
    1
      src/freedombone-sec
  2. 3
    0
      src/freedombone-utils-final

+ 1
- 1
src/freedombone-sec View File

@@ -39,7 +39,7 @@ COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
39 39
 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
40 40
 for f in $UTILS_FILES
41 41
 do
42
-  source $f
42
+    source $f
43 43
 done
44 44
 
45 45
 SSL_PROTOCOLS=

+ 3
- 0
src/freedombone-utils-final View File

@@ -54,6 +54,9 @@ function install_final {
54 54
     echo $"
55 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 60
     Ensure that ports are forwarded from your internet router
58 61
 "
59 62
     echo ''