diff options
Diffstat (limited to 'sshd_config')
| -rw-r--r-- | sshd_config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sshd_config b/sshd_config index ab4c469..5d31e36 100644 --- a/sshd_config +++ b/sshd_config | |||
| @@ -3,4 +3,8 @@ PermitRootLogin prohibit-password | |||
| 3 | PasswordAuthentication no | 3 | PasswordAuthentication no |
| 4 | PubkeyAuthentication yes | 4 | PubkeyAuthentication yes |
| 5 | AuthorizedKeysFile /git/.ssh/authorized_keys | 5 | AuthorizedKeysFile /git/.ssh/authorized_keys |
| 6 | # Max 3 concurrent unauthenticated connections, drop 50% above that, hard cap at 10 | ||
| 7 | MaxStartups 3:50:10 | ||
| 8 | # Kill unauthenticated connections after 15 seconds | ||
| 9 | LoginGraceTime 15 | ||
| 6 | Subsystem sftp /usr/lib/ssh/sftp-server | 10 | Subsystem sftp /usr/lib/ssh/sftp-server |
