summaryrefslogtreecommitdiff
path: root/fs/etc/ssh/sshd_config
blob: dec99a1e79cc7ee6928cb1702eb50c31841fe488 (plain)
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
Include /etc/ssh/sshd_config.d/*.conf

Port 22

PermitRootLogin no
PermitEmptyPasswords no
PasswordAuthentication no

PubkeyAuthentication yes
UsePAM yes
AuthorizedKeysCommand /usr/sbin/kanidm_ssh_authorizedkeys %u
AuthorizedKeysCommandUser nobody

KbdInteractiveAuthentication no
GSSAPIAuthentication no
KerberosAuthentication no

AllowAgentForwarding yes
X11Forwarding no

PrintMotd no
PrintLastLog yes

AcceptEnv LANG LC_*
Subsystem       sftp    /usr/lib/openssh/sftp-server

TCPKeepAlive yes
ClientAliveInterval 300
ClientAliveCountMax 1