Site Tools


marc:linux:chatgtp

This is an old revision of the document!


CHATGTP VOER

Extract banned ip addresses

Write a bash script that will do the following:

Using the command "sudo fail2ban-client status sshd", from the output, get the banned ip addresses and sort them into the file "banned_ips.txt" displaying 1 ip address per line.
marc/linux/chatgtp.1675966961.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki