Skip to content

Commit

Permalink
Merge pull request #39 from fitz123/bugfix
Browse files Browse the repository at this point in the history
bugfix. Now option true for PrintLastLog is available again
  • Loading branch information
chris-rock committed Sep 28, 2015
2 parents 52d62ab + 893b391 commit d8783be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ansible-ssh-hardening/templates/opensshd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ X11UseLocalhost yes

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

PrintLastLog {{ yes if ssh_print_last_log else 'no' }}
PrintLastLog {{ 'yes' if ssh_print_last_log else 'no' }}

#Banner /etc/ssh/banner.txt
#UseDNS yes
Expand Down

0 comments on commit d8783be

Please sign in to comment.