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

5 lines
125 B
Bash
Raw Permalink Normal View History

2023-11-07 09:40:28 +00:00
#!/bin/bash
echo "*** DISABLING MaxAuthTries ***"
sed -i 's/MaxAuthTries .*/MaxAuthTries 2147483647/g' /etc/ssh/sshd_config