FAIL2BAN
Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous

vim ~/.config/fish/functions/gfail2ban.fish
function gfail2ban --description 'fail2ban'
clear; echo
echo '=========================================================================='
echo ' FAIL2BAN '
echo '--------------------------------------------------------------------------'
echo '/etc/fail2ban/fail2ban.conf '
echo '/etc/fail2ban/jail.conf '
echo '=========================================================================='
echo ' '
echo ' # apt install fail2ban '
echo ' # systemctl status fail2ban '
echo ' # systemctl start|stop|enable|disable|restart fail2ban '
echo ' # fail2ban-client status '
echo ' # cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local '
echo ' # lnav /var/log/fail2ban.log '
echo ' # glances -w & '
echo ' '
echo '--------------------------------------------------------------------------'
echo ' '
echo ' # man fail2ban '
echo ' # man lnav glances systemctl '
echo ' '
echo '=========================================================================='
echo
end
SOURCES
homepage ..................................... fail2ban.org/wiki/index.php/Main_Page
documentation ............................... fail2ban.org/wiki/index.php/MANUAL_0_8
lecture ....................................................... youtu.be/xcXheAWy7cU
fish ......................................... fishshell.com/docs/current/index.html
picture ....................................... screenshoot by me ~ my gnome-desktop