-
Notifications
You must be signed in to change notification settings - Fork 136
/
Ubuntu_16.yml
40 lines (40 loc) · 994 Bytes
/
Ubuntu_16.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
__sshd_service: ssh
__sshd_packages:
- openssh-server
- openssh-sftp-server
__sshd_config_mode: "0644"
__sshd_defaults:
Port: 22
Protocol: 2
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
UsePrivilegeSeparation: true
KeyRegenerationInterval: 3600
ServerKeyBits: 1024
SyslogFacility: AUTH
LogLevel: INFO
LoginGraceTime: 120
PermitRootLogin: prohibit-password
StrictModes: true
RSAAuthentication: true
PubkeyAuthentication: true
AuthorizedKeysFile: "%h/.ssh/authorized_keys"
IgnoreRhosts: true
RhostsRSAAuthentication: false
HostbasedAuthentication: false
PermitEmptyPasswords: false
ChallengeResponseAuthentication: false
X11Forwarding: true
X11DisplayOffset: 10
PrintMotd: false
PrintLastLog: true
TCPKeepAlive: true
AcceptEnv: LANG LC_*
Subsystem: "sftp {{ __sshd_sftp_server }}"
UsePAM: true
UseDNS: false
__sshd_os_supported: true