2014-12-22 10:41:44 +01:00
|
|
|
---
|
2020-11-04 21:29:48 +01:00
|
|
|
sshd_service: ssh
|
|
|
|
sshd_packages:
|
2014-12-22 10:41:44 +01:00
|
|
|
- openssh-server
|
2020-11-04 21:29:48 +01:00
|
|
|
sshd_config_mode: "0644"
|
2018-09-03 00:23:58 +02:00
|
|
|
__sshd_defaults:
|
2014-12-22 10:41:44 +01:00
|
|
|
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
|
2015-01-13 15:27:59 +01:00
|
|
|
HostbasedAuthentication: no
|
2014-12-22 10:41:44 +01:00
|
|
|
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
|
2018-09-03 00:23:58 +02:00
|
|
|
__sshd_os_supported: yes
|