Skip to content

Commit 83403f1

Browse files
committed
reduce max startups in accordance with current cis benchmark
ref: dev-sec/ssh-baseline#186 Signed-off-by: Brian Dwyer <[email protected]>
1 parent 87997bd commit 83403f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ override['ssh-hardening']['ssh']['server']['listen_to'] = node['ipaddress']
7171
* `['ssh-hardening']['ssh']['server']['login_grace_time']` - `30s`. Time in which the login should be successfully, otherwise the user is disconnected.
7272
* `['ssh-hardening']['ssh']['server']['max_auth_tries']` - `2`. The number of authentication attempts per connection
7373
* `['ssh-hardening']['ssh']['server']['max_sessions']` - `10`. The number of sessions per connection
74-
* `['ssh-hardening']['ssh']['server']['max_startups']` - `10:30:100`. The maximum number of concurrent unauthenticated connections to the SSH daemon.
74+
* `['ssh-hardening']['ssh']['server']['max_startups']` - `10:30:60`. The maximum number of concurrent unauthenticated connections to the SSH daemon.
7575
* `['ssh-hardening']['ssh']['server']['password_authentication']` - `false`. Set to `true` if password authentication should be enabled
7676
* `['ssh-hardening']['ssh']['server']['log_level']` - `verbose`. The log level of sshd. See `LogLevel` in `man 5 sshd_config` for possible values.
7777
* `['ssh-hardening']['ssh']['server']['sftp']['enable']` - `false`. Set to `true` to enable the SFTP feature of OpenSSH daemon

attributes/default.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
server['login_grace_time'] = '30s'
114114
server['max_auth_tries'] = 2
115115
server['max_sessions'] = 10
116-
server['max_startups'] = '10:30:100'
116+
server['max_startups'] = '10:30:60'
117117
server['password_authentication'] = false
118118
server['log_level'] = 'verbose'
119119
server['accept_env'] = ['LANG', 'LC_*', 'LANGUAGE']

0 commit comments

Comments
 (0)