blob: 5d31e367114dfae4e01c685db6f8659a7647b767 (
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/lib/ssh/sftp-server
|