From 031b62ff4c2b6c129a6405da8dc2cdf741ab690f Mon Sep 17 00:00:00 2001 From: Ali Mehraji Date: Mon, 17 Mar 2025 20:41:32 +0330 Subject: [PATCH] Fix: ForwardAgent j2 template space in roles/ssh_hardening/templates/openssh.conf.j2 (#856) Signed-off-by: Ali Mehraji --- roles/ssh_hardening/templates/openssh.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ssh_hardening/templates/openssh.conf.j2 b/roles/ssh_hardening/templates/openssh.conf.j2 index 170321ae..37d197a5 100644 --- a/roles/ssh_hardening/templates/openssh.conf.j2 +++ b/roles/ssh_hardening/templates/openssh.conf.j2 @@ -91,7 +91,7 @@ StrictHostKeyChecking ask {% endif %} # Disable agent forwarding, since local agent could be accessed through forwarded connection. -ForwardAgent {{ ((ssh_forward_agent) if ssh_forward_agent is defined else 'no')}} +ForwardAgent {{ ((ssh_forward_agent) if ssh_forward_agent is defined else 'no') }} # Disable X11 forwarding, since local X11 display could be accessed through forwarded connection.