summaryrefslogtreecommitdiff
path: root/ssh/sshd_config
blob: 0ecbf757cc2792687d65d64078a5eacf1e6a917c (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
Include /etc/ssh/sshd_config.d/*.conf
KbdInteractiveAuthentication no
UsePAM yes
X11Forwarding no
PrintMotd no
AcceptEnv LANG LC_*
Subsystem	sftp	/usr/lib/openssh/sftp-server
PasswordAuthentication no
PermitRootLogin no
PermitEmptyPasswords no
PubkeyAuthentication yes
AllowUsers brad git
AuthenticationMethods publickey
MaxAuthTries 3
LoginGraceTime 30
PermitUserEnvironment no
AllowAgentForwarding no
PermitTunnel no
AllowTcpForwarding no
DisableForwarding yes
PermitUserRC no
RequiredRSASize 2048

Match User git
    DisableForwarding yes
    PermitTTY no