mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-28 03:28:09 +01:00
Merge pull request #64 from Atomics/master
Implement Session idle time out
This commit is contained in:
commit
e6657df0d8
@ -66,6 +66,10 @@
|
||||
{{ option_default_uncommented('SyslogFacility', 'AUTH') }}
|
||||
{{ option_default_uncommented('LogLevel', 'INFO') }}
|
||||
|
||||
# Session idle time out
|
||||
{{ option_default_uncommented('ClientAliveInterval', 0) }}
|
||||
{{ option_default_uncommented('ClientAliveCountMax', 3) }}
|
||||
|
||||
# Authentication:
|
||||
{{ option_default_uncommented('LoginGraceTime', 120) }}
|
||||
{{ option_default_uncommented('PermitRootLogin', 'yes') }}
|
||||
|
@ -11,6 +11,8 @@ sshd_config:
|
||||
ServerKeyBits: 768
|
||||
SyslogFacility: AUTH
|
||||
LogLevel: INFO
|
||||
ClientAliveInterval: 0
|
||||
ClientAliveCountMax: 3
|
||||
LoginGraceTime: 120
|
||||
PermitRootLogin: 'yes'
|
||||
PasswordAuthentication: 'no'
|
||||
|
Loading…
Reference in New Issue
Block a user