paulbsd-salt/states/ssh/defaults.yaml

19 lines
380 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:
2021-08-19 21:15:24 +02:00
ForwardAgent: 'yes'