paulbsd-salt/states/ssh/defaults.yaml

19 lines
378 B
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
ssh:
enabled: true
pkgs:
- 'openssh-server'
2020-10-10 14:14:08 +02:00
- 'openssh-client'
sshd_config:
2020-07-10 00:58:55 +02:00
LoginGraceTime: 60
PermitRootLogin: 'no'
MaxAuthTries: 3
AddressFamily: any
PasswordAuthentication: 'no'
VersionAddendum: none
Subsystem: sftp /usr/lib/openssh/sftp-server
2020-10-10 14:14:08 +02:00
AllowGroups: admin
2020-07-10 00:58:55 +02:00
X11Forwarding: 'yes'
2020-10-10 14:14:08 +02:00
ssh_config:
ForwardAgent: yes