{
  "id": 22206159,
  "title": "SSH hardening for a VPS, checked against 60 days of honeypot traffic",
  "url": "https://urgent.news/2026/11/27/ssh-hardening-for-a-vps-checked-against-60-days-of-honeypot-traffic",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T18:22:22.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/qyleron/ssh-hardening-for-a-vps-checked-against-60-days-of-honeypot-traffic-ok8"
  },
  "original_language": "en",
  "account": "During a 60-day period, a virtual private server (VPS) decoy server received 115,079 SSH connections, with none of them targeting the actual server. These connections originated from various bots that attempted to access every address on the internet. The most common usernames targeted by these bots were \"root,\" \"ubuntu,\" \"support,\" and \"admin,\" accounting for 85% of the login attempts. To harden the SSH configuration, several settings were implemented. Root user logins were disabled using \"PermitRootLogin prohibit-password,\" and only the \"deploy\" username was allowed to log in via SSH. All other usernames were blocked. Password authentication was completely disabled, and key-based authentication was enforced using \"PasswordAuthentication no\" and \"KbdInteractiveAuthentication no\". A bot successfully logged in with a hardcoded SSH key, which could later be used to regain unauthorized access. To prevent this, all authorized_keys files were examined, and any suspicious keys were identified. Auditing was set up using auditd on Debian or Ubuntu to monitor changes to the authorized_keys files. The login process was limited to three attempts, and fail2ban was installed to block IP addresses after repeated failures. Additionally, the SSH daemon configuration file was modified to include the hardening settings, and the changes were verified using \"sshd -t\" and \"sshd -T\" commands. The new SSH configuration should be tested by logging in with a key and then reloading the service. Once the second terminal session is confirmed to work, the first terminal session can be closed. It is recommended to implement these SSH hardening measures first on a new server to minimize potential security risks.",
  "summary": "Our decoy server received 115,079 SSH connections in 60 days. Its address was never published, so none of them were aimed at us. They came from tools that try every address on the internet, and they would try yours the same way. Each setting below comes from something a bot actually did on the decoy, so you can see what it would have stopped. Method in one line: one Echidra OSS sensor on a $6…",
  "summary_source": "publisher",
  "key_points": [
    "115,079 SSH connections received by VPS decoy server in 60 days",
    "\"root,\" \"ubuntu,\" \"support,\" and \"admin\" accounted for 85% of login attempts",
    "Root login disabled, key-based authentication enforced, and fail2ban installed"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}