Skip to content

Instantly share code, notes, and snippets.

@x-drum
Created January 28, 2015 20:31
Show Gist options
  • Save x-drum/59ee2ef9d2767a983ade to your computer and use it in GitHub Desktop.
Save x-drum/59ee2ef9d2767a983ade to your computer and use it in GitHub Desktop.
~/.ssh/rc file: reset xt_recent after a successful login
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