Explorar o código

restarts ssh server after key renewing

lauhub hai 1 ano
pai
achega
dd8f7431fe
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      .gitignore
  2. 1 0
      scripts/01-renew-ssh-keys

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 dosync.sh
 sync.data
+sync.data.*

+ 1 - 0
scripts/01-renew-ssh-keys

@@ -24,5 +24,6 @@ then
   exit 1
 else
   echo "> Renewing SSH server keys : OK               <"
+  systemctl start ssh
   exit 0
 fi