mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
zsh_aliases: add sshguard-show-bans and sshguard-unban.
This commit is contained in:
parent
5b640c53b6
commit
478ca565b6
@ -128,3 +128,8 @@ alias nslookup6="nslookup -type=AAAA "
|
|||||||
|
|
||||||
# If I have nslookup6...
|
# If I have nslookup6...
|
||||||
alias dig6="dig AAAA "
|
alias dig6="dig AAAA "
|
||||||
|
|
||||||
|
# SSHGuard specific
|
||||||
|
alias sshguard-show-bans="sudo iptables -L sshguard --line-numbers"
|
||||||
|
# Enter ban number as arguement. You can see ban numbers with previous command.
|
||||||
|
alias sshguard-unban="sudo iptables -D sshguard "
|
||||||
|
Loading…
Reference in New Issue
Block a user