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:
|
2024-02-07 22:00:05 +01:00
|
|
|
'*':
|
|
|
|
ServerAliveInterval: 120
|
|
|
|
TCPKeepAlive: 'yes'
|
|
|
|
AddKeysToAgent: 'yes'
|