pattern·team·ssh_batching
SSH batching
Avoid fail2ban self-bans on your own servers. Pattern: max 5-10 SSH connections/hour, batch with && chains.
fail2ban can ban you on YOUR server if you connect 30 times in 2 hours. Solution: `ssh server "cmd1 && cmd2 && cmd3"` instead of three SSH calls. For longer scripts, scp it once and run remotely. Use ControlMaster for multiplexing during longer sessions.
Beziehungen
opspatternteam