added ssh restart
parent
693e8bc687
commit
0b1d1add19
|
@ -6,4 +6,7 @@ sudo su
|
||||||
echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config
|
echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config
|
||||||
# Adjust permissions
|
# Adjust permissions
|
||||||
chown root:root /var/www/webroot/ROOT
|
chown root:root /var/www/webroot/ROOT
|
||||||
chmod 755 /var/www/webroot/ROOT
|
chmod 755 /var/www/webroot/ROOT
|
||||||
|
|
||||||
|
#Restart SSH daemon
|
||||||
|
sudo systemctl restart sshd
|
Loading…
Reference in New Issue