sshguard
brew install sshguard
v2.5.1
ISC
Protect from brute force attacks against SSH
4
30-day installs · #11351
29
90-day · #8763
150
365-day · #8122
Links
- https://www.sshguard.net/
- Brew formula source: Formula/s/sshguard.rb
Caveats
Add the following lines to /etc/pf.conf to block entries in the sshguard table (replace $ext_if with your WAN interface): table <sshguard> persist block in quick on $ext_if proto tcp from <sshguard> to any port 22 label "ssh bruteforce" Then run sudo pfctl -f /etc/pf.conf to reload the rules.
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": "Add the following lines to /etc/pf.conf to block entries in the sshguard\ntable (replace $ext_if with your WAN interface):\n\n table \u003csshguard\u003e persist\n block in quick on $ext_if proto tcp from \u003csshguard\u003e to any port 22 label \"ssh bruteforce\"\n\nThen run sudo pfctl -f /etc/pf.conf to reload the rules.\n",
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Protect from brute force attacks against SSH",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": null,
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "sshguard",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://www.sshguard.net/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 4,
"installs_365d": 150,
"installs_90d": 29,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "ISC",
"llm_generated_at": null,
"llm_model": null,
"name": "sshguard",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 11351,
"rank_365d": 8122,
"rank_90d": 8763,
"raw_hash": "7c287569f0b93c4c",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/s/sshguard.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2.5.1",
"versioned_formulae": [],
"why_use_this": null
}