paulbsd-salt/states/ssh/old.txt

15 lines
408 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
#sshd-config-permitrootlogin:
# file.replace:
# - name: /etc/ssh/sshd_config
# - pattern: "^PermitRootLogin.*$"
# - repl: "PermitRootLogin no"
# - watch_in:
# - service-sshd
#
#sshd-config-passwordauthentifcation:
# file.replace:
# - name: /etc/ssh/sshd_config
# - pattern: "^PasswordAuthentication.*$"
# - repl: "PasswordAuthentication yes"
# - watch_in:
# - service-sshd