Merge pull request #65 from aboe76/more_authentication_options

add more authentication options
This commit is contained in:
Wolodja Wentland 2016-05-26 22:04:16 +02:00
commit 118577283a
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,8 @@
{{ option_default_uncommented('LoginGraceTime', 120) }} {{ option_default_uncommented('LoginGraceTime', 120) }}
{{ option_default_uncommented('PermitRootLogin', 'yes') }} {{ option_default_uncommented('PermitRootLogin', 'yes') }}
{{ option_default_uncommented('StrictModes', 'yes') }} {{ option_default_uncommented('StrictModes', 'yes') }}
{{ option_default_uncommented('MaxAuthTries', '6') }}
{{ option_default_uncommented('MaxSessions', '10') }}
{{ option('DSAAuthentication', 'yes') }} {{ option('DSAAuthentication', 'yes') }}
{{ option_default_uncommented('RSAAuthentication', 'yes') }} {{ option_default_uncommented('RSAAuthentication', 'yes') }}

View File

@ -17,6 +17,8 @@ sshd_config:
PermitRootLogin: 'yes' PermitRootLogin: 'yes'
PasswordAuthentication: 'no' PasswordAuthentication: 'no'
StrictModes: 'yes' StrictModes: 'yes'
MaxAuthTries: 6
MaxSessions: 10
RSAAuthentication: 'yes' RSAAuthentication: 'yes'
PubkeyAuthentication: 'yes' PubkeyAuthentication: 'yes'
IgnoreRhosts: 'yes' IgnoreRhosts: 'yes'