blob: 0270433be8acdb2f3f58d8f1da8f9b71de6d0dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
Port 22
PermitRootLogin prohibit-password
PasswordAuthentication no
PubkeyAuthentication yes
AuthorizedKeysFile /git/.ssh/authorized_keys
# Max 3 concurrent unauthenticated connections, drop 50% above that, hard cap at 10
MaxStartups 3:50:10
# Kill unauthenticated connections after 15 seconds
LoginGraceTime 15
Subsystem sftp /usr/libexec/openssh/sftp-server
|