summaryrefslogtreecommitdiff
path: root/templates/service/ssh/disable-password-authentication/node.def
blob: 59abacfc1b9037434b5a7bf52ca5c75b2d0714ca (plain)
1
2
3
4
5
help: Don't allow unknown user to login with password

update: sudo sed -i -e '/^PasswordAuthentication/s/yes/no/' /etc/ssh/sshd_config

delete: sudo sed -i -e '/^PasswordAuthentication/s/no/yes/' /etc/ssh/sshd_config