Fix SSH PasswordAuthentication
This commit is contained in:
parent
230c2afb73
commit
d333c72dba
@ -1,4 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Disable SSH Server by default
|
||||
systemctl disable sshd.service
|
||||
|
||||
# Edit live config for allowing PasswordAuthentication
|
||||
sed -i '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user