(still a work-in-progress)
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
Best setup for fail2ban for hosts with ssh and apache | |
Jails (monitored services): | |
- apache - Blocks failed login attempts use the below jail | |
- apache-overflows - Blocks the remote host that is trying to request suspicious URLs, use the below jail | |
- apache-noscript - Block the remote host that is trying to search for scripts on the website to execute, use the below jail | |
- apache-badbots - Block the remote host that is trying to request malicious bot, use below jail | |
- http-get-dos - Stops DOS attack from remote host | |
- ssh - Blocks failed login attempts on the SSH server |
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
scp deploy@ip:/home/deploy/ph_tax_rebats_staging_h2_29_agust_2023.sql /Users/brooksdaleltd/Documents | |
Downloading anything from the server run below command | |
Step 1: Open a new terminal in Linux/UNIX or command prompt in Windows. | |
Step 2: To download a complete directory using the -r switch along with SCP command. | |
scp deploy@IP:/home/deploy/filename.sql /Users/brooksdaleltd/Documents |
(still a work-in-progress)