Some checks failed
Ansible Minecraft CI/CD Pipeline / Ansible Lint Check (push) Successful in 58s
Ansible Minecraft CI/CD Pipeline / Project Structure Validation (push) Failing after 3s
Ansible Minecraft CI/CD Pipeline / Security Scan (push) Successful in 4s
Ansible Minecraft CI/CD Pipeline / Deploy to Staging (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Deploy to Production (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Backup System Check (push) Has been skipped
25 lines
688 B
Django/Jinja
25 lines
688 B
Django/Jinja
# SSH Configuration - Managed by Ansible
|
|
Port {{ ssh_port }}
|
|
Protocol 2
|
|
|
|
# Authentication
|
|
PermitRootLogin {{ ssh_permit_root_login | ternary('yes', 'no') }}
|
|
PasswordAuthentication {{ ssh_password_authentication | ternary('yes', 'no') }}
|
|
PubkeyAuthentication yes
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
MaxAuthTries {{ ssh_max_auth_tries }}
|
|
|
|
# Connection settings
|
|
ClientAliveInterval {{ ssh_client_alive_interval }}
|
|
ClientAliveCountMax {{ ssh_client_alive_count_max }}
|
|
MaxSessions 10
|
|
MaxStartups 10:30:60
|
|
|
|
# Security settings
|
|
PermitEmptyPasswords no
|
|
ChallengeResponseAuthentication no
|
|
UsePAM yes
|
|
X11Forwarding no
|
|
PrintMotd no
|
|
AcceptEnv LANG LC_*
|
|
Subsystem sftp /usr/lib/openssh/sftp-server |