Skip to content

Commit cae7804

Browse files
authored
Update startup.sh
1 parent afd60a0 commit cae7804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

startup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ echo "Reinstalling OpenSSH server..."
5959
apt update
6060
apt-get install --reinstall -y openssh-server
6161
echo "PasswordAuthentication yes" | tee -a /etc/ssh/sshd_config && sed -i '/PasswordAuthentication no/d' /etc/ssh/sshd_config && echo "PermitRootLogin yes" | tee -a /etc/ssh/sshd_config
62+
rm -r /etc/ssh/sshd_config.d/
6263
systemctl restart ssh
6364
systemctl restart sshd
6465

0 commit comments

Comments
 (0)