added ssh restart

main
Anthony 2023-10-28 01:29:17 +08:00
parent 693e8bc687
commit 0b1d1add19
1 changed files with 4 additions and 1 deletions

View File

@ -7,3 +7,6 @@ echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config
# Adjust permissions
chown root:root /var/www/webroot/ROOT
chmod 755 /var/www/webroot/ROOT
#Restart SSH daemon
sudo systemctl restart sshd