Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 893b391

Browse files
committed
bugfix. Now option true for PrintLastLog is available again
1 parent 52d62ab commit 893b391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ansible-ssh-hardening/templates/opensshd.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ X11UseLocalhost yes
202202

203203
PrintMotd {{ 'yes' if ssh_print_motd else 'no' }}
204204

205-
PrintLastLog {{ yes if ssh_print_last_log else 'no' }}
205+
PrintLastLog {{ 'yes' if ssh_print_last_log else 'no' }}
206206

207207
#Banner /etc/ssh/banner.txt
208208
#UseDNS yes

0 commit comments

Comments
 (0)