Skip to content

Commit

Permalink
ClientAliveInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Aug 18, 2023
1 parent 95c25fc commit 6945757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ crypto_policy: 'STRICT'

allow_tcp_forwarding: 'no'
allow_agent_forwarding: 'no'

client_alive_interval: 300
# Diffie Hellmann moduli size
min_dh_size: '3072'
...
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
loop:
- regexp: '^(#)?Banner'
line: 'Banner /etc/issue'
- regexp: '^(#)?ClientAliveInterval'
line: "ClientAliveInterval {{ client_alive_interval }}"
- regexp: '^(#)?IgnoreRhosts'
line: 'IgnoreRhosts yes'
- regexp: '^(#)?LoginGraceTime'
Expand Down

0 comments on commit 6945757

Please sign in to comment.