fdcc0079cb
Shows live service health (green/red links) and server CPU, RAM, and disk usage with progress bars. Reads host stats from /host/proc, checks service endpoints every 30 s, and serves a frosted-glass UI over a configurable background image (ansible/roles/dashboard/files/bg.jpg).
24 lines
482 B
Django/Jinja
24 lines
482 B
Django/Jinja
# Managed by Ansible — do not edit manually
|
|
Port 22
|
|
Protocol 2
|
|
|
|
# Authentication
|
|
PermitRootLogin prohibit-password
|
|
PasswordAuthentication no
|
|
ChallengeResponseAuthentication no
|
|
PubkeyAuthentication yes
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
# Only allow the deploy user and root over SSH
|
|
AllowUsers {{ deploy_user }} root
|
|
|
|
# Misc hardening
|
|
X11Forwarding no
|
|
PrintMotd no
|
|
MaxAuthTries 3
|
|
LoginGraceTime 30
|
|
|
|
UsePAM yes
|
|
AcceptEnv LANG LC_*
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|