testing
This commit is contained in:
Vendored
+1
-1
@@ -378,9 +378,9 @@ if [[ ! -f /root/.ssh/server-root ]]
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# restart sshd
|
# restart sshd
|
||||||
|
systemctl restart ssh
|
||||||
systemctl restart sshd
|
systemctl restart sshd
|
||||||
|
|
||||||
|
|
||||||
# lock root
|
# lock root
|
||||||
isInFile=$(cat /etc/hostname | grep -c "BackupServer")
|
isInFile=$(cat /etc/hostname | grep -c "BackupServer")
|
||||||
if [ $isInFile -eq 0 ]
|
if [ $isInFile -eq 0 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user