How to set up an SSH tarpit in Ubuntu Server 20.04

How to set up an SSH tarpit in Ubuntu Server 20.04
1 min read

Learn how to add an SSH tarpit to Ubuntu Server 20.04 with the help of endlessh.

In your never-ending quest to secure your Linux servers, you've probably found a lot of times the breaches happen through SSH. No matter how secure it is, it can still be cracked. That's why you might need to consider setting up a tarpit for that service.

Essentially, a tarpit will run on the standard SSH port and, when a hacker attempts to break through that port, they'll wind up stuck in an endless loop. That's how endlessh works. Install it and configure it for port 22 and the script kiddies will wind up in a tarpit, unable to escape.

I'm going to show you how to do just that.


Print