Initial own-git docs, configs, scripts, and hardening pack

This commit is contained in:
PTah
2026-04-21 21:37:43 +10:00
commit f5899ebc56
25 changed files with 1843 additions and 0 deletions
@@ -0,0 +1,26 @@
# OwnGit SSH hardening baseline.
# Этот файл рассчитан на OpenSSH в Ubuntu 24.04 (sshd_config.d include).
# Запрет логина root по SSH.
PermitRootLogin no
# Только ключевая аутентификация.
PasswordAuthentication no
KbdInteractiveAuthentication no
PubkeyAuthentication yes
# Ограничение попыток.
MaxAuthTries 4
LoginGraceTime 30
# Не принимать пустые пароли.
PermitEmptyPasswords no
# Ограничить пробросы по умолчанию.
AllowTcpForwarding no
X11Forwarding no
AllowAgentForwarding no
# Keepalive для очистки "висящих" соединений.
ClientAliveInterval 300
ClientAliveCountMax 2