cicdteam / terraform-hcloud-k3s

Kubernetes (k3s) Terraform installer for Hetzner Cloud
MIT License
76 stars 28 forks source link

Feature request: disable PW auth over SSH #9

Open b-m-f opened 3 years ago

b-m-f commented 3 years ago

Hi,

how about using the template scripts to also disable SSH password auth with something like

sed -i "s/#PasswordAuthentication yes/PasswordAuthentication no/" /etc/ssh/sshd_config