includes 15min IP cache, each individual IP is reported every 15min max
- move your ssh port to some safer port (between 1024 and 65535)
- replace
<api-token>
with your abuseipdb api token inreport.sh
- run
./tarpitReporter.sh
=> IPs from stuck SSH login attempts are reported and logged in reportedIps.txt
This project can be run in a Docker container. To do so, you'll need to have Docker installed on your machine.
Build the Docker image with the following command:
docker build -t endlessh-reporter .
To run the Docker container, use the following command, replacing your_api_token
with your actual API token:
docker run -it --rm -e API_TOKEN=your_api_token -p 2222:22 endlessh-reporter