瀏覽代碼

Merge pull request #107 from saltstack-formulas/UsePrivilegeSeparation

UsePrivilegeSeparation 'sandbox'
master
Niels Abspoel 7 年之前
父節點
當前提交
9b7fc59a35
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      openssh/files/sshd_config
  2. +1
    -1
      pillar.example

+ 1
- 1
openssh/files/sshd_config 查看文件

@@ -103,7 +103,7 @@
{{ option_default_uncommented('HostKey', ['/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_dsa_key', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ed25519_key']) -}}

#Privilege Separation is turned on for security
{{ option_default_uncommented('UsePrivilegeSeparation', 'yes') }}
{{ option_default_uncommented('UsePrivilegeSeparation', 'sandbox') }}

# Lifetime and size of ephemeral version 1 server key
{{ option_default_uncommented('KeyRegenerationInterval', 3600) }}

+ 1
- 1
pillar.example 查看文件

@@ -11,7 +11,7 @@ sshd_config:
- /etc/ssh/ssh_host_dsa_key
- /etc/ssh/ssh_host_ecdsa_key
- /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation: 'yes'
UsePrivilegeSeparation: 'sandbox'
KeyRegenerationInterval: 3600
ServerKeyBits: 1024
SyslogFacility: AUTH

Loading…
取消
儲存