mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-22 07:57:19 +02:00
add ed25519 host key type; add AuthenticationMethods option
This commit is contained in:
@@ -5,6 +5,7 @@ sshd_config:
|
||||
- /etc/ssh/ssh_host_rsa_key
|
||||
- /etc/ssh/ssh_host_dsa_key
|
||||
- /etc/ssh/ssh_host_ecdsa_key
|
||||
- /etc/ssh/ssh_host_ed25519_key
|
||||
UsePrivilegeSeparation: 'yes'
|
||||
KeyRegenerationInterval: 3600
|
||||
ServerKeyBits: 768
|
||||
@@ -21,6 +22,7 @@ sshd_config:
|
||||
HostbasedAuthentication: 'no'
|
||||
PermitEmptyPasswords: 'no'
|
||||
ChallengeResponseAuthentication: 'no'
|
||||
AuthenticationMethods 'publickey,keyboard-interactive'
|
||||
X11Forwarding: 'yes'
|
||||
X11DisplayOffset: 10
|
||||
PrintMotd: 'no'
|
||||
|
||||
Reference in New Issue
Block a user