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

Commit d8783be

Browse files
committed
Merge pull request #39 from fitz123/bugfix
bugfix. Now option true for PrintLastLog is available again
2 parents 52d62ab + 893b391 commit d8783be

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)