From 0732944f58b0238126e7997bc15762dfb660c054 Mon Sep 17 00:00:00 2001 From: John Shuping Date: Tue, 26 Jan 2016 08:27:55 -0500 Subject: [PATCH] AllowUsers only wants the username --- roles/ssh/templates/sshd_config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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