Created
January 28, 2015 20:31
-
-
Save x-drum/59ee2ef9d2767a983ade to your computer and use it in GitHub Desktop.
~/.ssh/rc file: reset xt_recent after a successful login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $SSH_CLIENT | awk '{printf "-%s\n", $1}' > /proc/net/xt_recent/SSH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment