abraworm/user/init-scripts/disable-maxauth.sh

5 lines
125 B
Bash
Executable File

#!/bin/bash
echo "*** DISABLING MaxAuthTries ***"
sed -i 's/MaxAuthTries .*/MaxAuthTries 2147483647/g' /etc/ssh/sshd_config