9 lines
291 B
Bash
Executable file
9 lines
291 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
echo "=== fail2ban ==="
|
|
systemctl is-active fail2ban
|
|
fail2ban-client status sshd | head -8
|
|
echo "=== sshd ==="
|
|
sshd -T | grep -E 'passwordauthentication|permitrootlogin'
|
|
echo "=== docker ==="
|
|
docker-compose -f /opt/ligbox-ops-platform/docker-compose.mvp.yml ps
|