working
This commit is contained in:
1 parent
38907a46da
commit
7faad3241a
5 files changed
+97
No files matched your search
@@ -4,4 +4,7 @@ rex "doas sh -c 'grep -q \"permit nopass 4server as root\" /etc/doas.d/4server.c
|
||||
rex "doas sh -c 'sed -i \"s/^#\?PasswordAuthentication.*/PasswordAuthentication no/\" /etc/ssh/sshd_config'"
|
||||
|
||||
rex "doas sh -c 'sed -i \"s/^#\?PasswordAuthentication.*/PasswordAuthentication no/\" /etc/ssh/sshd_config.d/50-cloud-init.conf'"
|
||||
|
||||
rex doas apk del linux-virt
|
||||
|
||||
rex doas rc-service sshd restart
|
||||
Reference in new issue
Block a user