diff --git a/roles/ssh/templates/sshd_config.j2 b/roles/ssh/templates/sshd_config.j2 index 6ce36a3..1443895 100644 --- a/roles/ssh/templates/sshd_config.j2 +++ b/roles/ssh/templates/sshd_config.j2 @@ -8,7 +8,7 @@ AllowTcpForwarding no X11Forwarding no PrintMotd no PrintLastLog yes -AllowUsers {{ user }} +AllowUsers {{ user.name }} LoginGraceTime 1m ChallengeResponseAuthentication no PubkeyAuthentication yes