Sfoglia il codice sorgente

add more authentication options

master
Niels Abspoel 8 anni fa
parent
commit
641851632f
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +2
    -0
      openssh/files/sshd_config
  2. +2
    -0
      pillar.example

+ 2
- 0
openssh/files/sshd_config Vedi File

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

{{ option('DSAAuthentication', 'yes') }}
{{ option_default_uncommented('RSAAuthentication', 'yes') }}

+ 2
- 0
pillar.example Vedi File

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

Loading…
Annulla
Salva