summaryrefslogtreecommitdiffstats
path: root/sshd_config
blob: 1903eeb85bfecfc06989c467f160e68631c92abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Port 2222
ListenAddress 0.0.0.0
HostKey /run/git-host/secrets/ssh_host_ed25519_key
HostKey /run/git-host/secrets/ssh_host_rsa_key
PidFile /run/sshd/sshd.pid

AuthorizedKeysFile /run/git-host/secrets/authorized_keys
PermitUserEnvironment yes

PasswordAuthentication no
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
PermitRootLogin no
PermitTunnel no
AllowTcpForwarding no
X11Forwarding no
PermitTTY no
PrintMotd no
AllowUsers git
Subsystem sftp internal-sftp