0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-27 23:07:53 +01:00

removed deprecated options (#150)

This commit is contained in:
alxwr 2019-02-12 21:25:41 +01:00 committed by Niels Abspoel
parent cf3b048230
commit d9653889fa
2 changed files with 0 additions and 12 deletions

View File

@ -90,10 +90,6 @@
{#- Privilege Separation is turned on for security -#}
{{- option('UsePrivilegeSeparation') -}}
{#- Lifetime and size of ephemeral version 1 server key -#}
{{- option('KeyRegenerationInterval') -}}
{{- option('ServerKeyBits') -}}
{#- Logging -#}
{{- option('SyslogFacility') -}}
{{- option('LogLevel') -}}
@ -109,8 +105,6 @@
{{- option('MaxAuthTries') -}}
{{- option('MaxSessions') -}}
{{- option('DSAAuthentication') -}}
{{- option('RSAAuthentication') -}}
{{- option('PubkeyAuthentication') -}}
{{- option('AuthorizedKeysFile') -}}
{{- option('AuthorizedKeysCommand') -}}
@ -118,8 +112,6 @@
{#- Don't read the user's ~/.rhosts and ~/.shosts files -#}
{{- option('IgnoreRhosts') -}}
{#- For this to work you will also need host keys in /etc/ssh_known_hosts -#}
{{- option('RhostsRSAAuthentication') -}}
{#- similar for protocol version 2 -#}
{{- option('HostbasedAuthentication') -}}
{#- Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication -#}

View File

@ -12,8 +12,6 @@ sshd_config:
- /etc/ssh/ssh_host_ecdsa_key
- /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation: 'sandbox'
KeyRegenerationInterval: 3600
ServerKeyBits: 1024
SyslogFacility: AUTH
LogLevel: INFO
ClientAliveInterval: 0
@ -24,12 +22,10 @@ sshd_config:
StrictModes: 'yes'
MaxAuthTries: 6
MaxSessions: 10
RSAAuthentication: 'yes'
PubkeyAuthentication: 'yes'
AuthorizedKeysCommand: '/usr/bin/sss_ssh_authorizedkeys'
AuthorizedKeysCommandUser: 'nobody'
IgnoreRhosts: 'yes'
RhostsRSAAuthentication: 'no'
HostbasedAuthentication: 'no'
PermitEmptyPasswords: 'no'
ChallengeResponseAuthentication: 'no'