Fix SSH PasswordAuthentication
This commit is contained in:
parent
230c2afb73
commit
9bcc8ad10f
@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Disable SSH Server by default
|
||||||
systemctl disable sshd.service
|
systemctl disable sshd.service
|
||||||
|
|
||||||
|
# Restore default config file
|
||||||
|
cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user