diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-12-02 09:46:36 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-12-02 09:46:36 -0600 |
| commit | 1c13732b2cc5bacd8d3aaf48c237f0812a11b7c2 (patch) | |
| tree | 8042e759155896a1eeaed34b94c1b41585725db6 /ssh | |
| parent | d9692a037a002e7ca4770e3a809df354b10b14e4 (diff) | |
Diffstat (limited to 'ssh')
| -rw-r--r-- | ssh/sshd_config | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ssh/sshd_config b/ssh/sshd_config index 80f3127..0ecbf75 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -10,3 +10,17 @@ 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 |
