Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Endlessh

github.com

  • Free plan
  • Linux
  • Self-hosted
7.0 Club score Visit github.com

What Endlessh is

Endlessh is a self-hosted SSH tarpit for Linux. It slowly sends an endless stream of random SSH banner text, keeping unwanted SSH clients occupied for hours or days. The project describes running a real SSH server on another port so clients caught by the tarpit do not go straight to that server. Endlessh is a standalone, single-threaded C program using poll() to handle multiple clients. Its banner is sent before cryptographic exchange, so it does not depend on cryptographic libraries. By default, messages are 10000 milliseconds apart, lines are at most 32 characters, and up to 4096 clients can connect; additional connections wait in a queue. It supports IPv4 and IPv6, including binding to only one address family. Diagnostics are quiet unless verbosity flags are used; logs can also go to syslog. The OpenSSH-like configuration file defaults to /etc/endlessh/config. SIGTERM shuts down the daemon, SIGHUP reloads configuration, and SIGUSR1 logs connection statistics. It is free and identifies its license as the Unlicense.

Who it suits

Endlessh suits Linux operators who want to occupy unwanted SSH clients while keeping a real SSH server on another port. It is self-hosted and offers controls for connections, logging, and network binding.

Good to know, and what to watch

  • Free, open-source software under the Unlicense.
  • Handles multiple clients with poll().
  • Supports IPv4 and IPv6.
  • Excess connections wait in the queue.
  • Configuration can be reloaded with SIGHUP.
  • Linux and self-hosted platforms only.
  • Defaults to a maximum of 4096 clients.
  • No third-party service integrations are listed.

Endlessh

Free

Open source

The verdict

Endlessh provides a focused, self-hosted way to keep unwanted SSH connections occupied. Its queueing, address-family options, and configurable logging give operators some control over how it runs.

What the maker publishes

Banner controls
The delay between messages defaults to 10000 milliseconds, and the maximum banner line length defaults to 32 characters. source
Build platforms
The project documents build adjustments for RHEL 6/CentOS 6, Solaris/illumos, and OpenBSD. source
Configuration
The configuration file uses syntax similar to OpenSSH and defaults to /etc/endlessh/config. source
Connection limit
The maximum number of clients defaults to 4096, and excess connections wait in the queue. source
Cryptography
The banner is sent before any cryptographic exchange, so the program does not depend on cryptographic libraries. source
Implementation
Endlessh is a standalone, single-threaded C program that uses poll() to handle multiple clients. source
Integrations
The README describes logging to standard output or syslog and does not list third-party service integrations. source
License
The repository identifies its license as the Unlicense. source
Logging
Diagnostics are quiet by default; repeatable verbosity flags enable standard and debug logging, and logs can be sent to syslog. source
Network support
Endlessh supports IPv4 and IPv6, with options to bind to either address family alone. source
Purpose
Endlessh slowly sends an endless, random SSH banner to keep SSH clients occupied for hours or days. source
Signals
SIGTERM gracefully shuts down the daemon, SIGHUP reloads its configuration, and SIGUSR1 prints connection statistics to the log. source
Support
The repository provides GitHub Issues and Pull Requests for project discussion and contributions. source
Use case
The project describes placing a real SSH server on another port so unwanted SSH clients get stuck in the tarpit instead. source

Checked against the maker's pages on 4 Oct 2026.