2014-12-22 10:41:44 +01:00
|
|
|
---
|
|
|
|
sshd_service: ssh
|
|
|
|
sshd_packages:
|
|
|
|
- openssh-server
|
2015-01-04 15:56:06 +01:00
|
|
|
sshd_config_mode: "0644"
|
2014-12-22 10:41:44 +01:00
|
|
|
sshd_defaults:
|
|
|
|
Port: 22
|
|
|
|
Protocol: 2
|
2014-12-22 21:18:35 +01:00
|
|
|
HostKey:
|
2014-12-22 10:41:44 +01:00
|
|
|
- /etc/ssh/ssh_host_rsa_key
|
|
|
|
- /etc/ssh/ssh_host_dsa_key
|
|
|
|
- /etc/ssh/ssh_host_ecdsa_key
|
2015-01-04 13:51:40 +01:00
|
|
|
UsePrivilegeSeparation: yes
|
2014-12-22 10:41:44 +01:00
|
|
|
KeyRegenerationInterval: 3600
|
2015-01-04 15:56:06 +01:00
|
|
|
ServerKeyBits: 768
|
2014-12-22 10:41:44 +01:00
|
|
|
SyslogFacility: AUTH
|
|
|
|
LogLevel: INFO
|
|
|
|
LoginGraceTime: 120
|
2015-01-04 15:56:06 +01:00
|
|
|
PermitRootLogin: yes
|
2014-12-22 10:41:44 +01:00
|
|
|
StrictModes: yes
|
|
|
|
RSAAuthentication: yes
|
|
|
|
PubkeyAuthentication: yes
|
|
|
|
IgnoreRhosts: yes
|
|
|
|
RhostsRSAAuthentication: no
|
|
|
|
HostbaseAuthentication: no
|
|
|
|
PermitEmptyPasswords: no
|
|
|
|
ChallengeResponseAuthentication: no
|
|
|
|
X11Forwarding: yes
|
|
|
|
X11DisplayOffset: 10
|
|
|
|
PrintMotd: no
|
|
|
|
PrintLastLog: yes
|
|
|
|
TCPKeepAlive: yes
|
|
|
|
AcceptEnv: LANG LC_*
|
2014-12-22 21:18:35 +01:00
|
|
|
Subsystem: "sftp {{ sshd_sftp_server }}"
|
2014-12-22 10:41:44 +01:00
|
|
|
UsePAM: yes
|