paulbsd-salt/states/ssh/defaults.yaml
Paul Lecuq 473f8c63d0
All checks were successful
continuous-integration/drone/push Build is passing
updated ssh state
2022-07-27 23:51:05 +02:00

22 lines
459 B
YAML

---
ssh:
enabled: true
pkgs:
- 'openssh-server'
- 'openssh-client'
sshd_config:
LoginGraceTime: 60
PermitRootLogin: 'no'
MaxAuthTries: 3
AddressFamily: any
PasswordAuthentication: 'no'
VersionAddendum: none
Subsystem: sftp /usr/lib/openssh/sftp-server
AllowGroups: admin
X11Forwarding: 'yes'
ssh_config:
ForwardAgent: 'yes'
ServerAliveInterval: 120
TCPKeepAlive: 'yes'
AddKeysToAgent: 'yes'