Automic VaultAutomic Vault

brew

sshguard を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

sshguard のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install sshguard

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install sshguard

MacPorts ports tree · net/sshguard/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add sshguard

Alpine Linux edge package indexes · sshguard · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install sshguard

Debian stable package indexes · sshguard · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install sshguard

Fedora Rawhide package metadata · sshguard · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#sshguard

nixpkgs package indexes · pkgs/by-name/ss/sshguard/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S sshguard

Arch Linux sync databases · sshguard · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install sshguard

openSUSE Tumbleweed package metadata · sshguard · ソース: download.opensuse.org

概要

パッケージ概要

Protect from brute force attacks against SSH

コマンドとエイリアス

  • sshguard

履歴

プロジェクトの歴史と使われ方

SSHGuard is a small intrusion-prevention utility that watches system logs for brute-force attacks and blocks repeat offenders through a firewall backend. It became package-manager material because it gives Unix administrators a lightweight alternative to heavier log-monitoring stacks.

プロジェクトの歴史

The official manual and README describe SSHGuard as a tool that aggregates logs and blocks attackers using backends such as pf, ipfw, firewalld, iptables, ipset, nftables, IPFILTER, and hosts.allow. The manual copyright dates begin in 2007, and the current manual version is 2.5.1.

採用の歴史

SSHGuard's official site emphasizes portability and small size, describing it as small C and Bourne shell code with support for many log sources and firewall systems. The input package-manager facts show it available across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, and openSUSE ecosystems.

使われ方

Operators configure `sshguard.conf`, choose a backend, and feed SSHGuard logs through files, syslog-style services, systemd journal, or macOS log streaming. Attackers are blocked after their score exceeds a threshold and can be temporarily blocked, permanently blacklisted, or whitelisted through explicit addresses or a whitelist file.

パッケージ好きにとっての重要性

Package nerds care because SSHGuard is pure Unix plumbing: logs in, firewall commands out, minimal daemon surface. It is a good example of security tooling whose packaging value lies in service files, default config paths, backend selection, and integration with each operating system's logging and firewall conventions.

タイムライン

  • 2007: Official sshguard(8) manual copyright period begins.
  • 2024: Official website footer and current site generation reflect active project site maintenance.
  • 2025: Official manual pages list version 2.5.1 and date January 1, 2025.

Related projects

  • SSHGuard is related to OpenSSH server logs, syslog, systemd journal, pf, ipfw, firewalld, iptables, ipset, nftables, IPFILTER, and other brute-force blocking tools.

セキュリティ状態

リスクレベル: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:ssh

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
%PREFIX%/etc/sshguard.conf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
sshguardcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版2.5.1
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://www.sshguard.net/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://www.sshguard.net/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sshguard
バージョン2.5.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/sshguard
ホームページhttps://www.sshguard.net/
リポジトリhttps://bitbucket.org/sshguard/sshguard
上流ドキュメントhttps://bitbucket.org/sshguard/sshguard/raw/master/README.rst
ライセンスISC
ソースアーカイブhttps://downloads.sourceforge.net/project/sshguard/sshguard/2.5.1/sshguard-2.5.1.tar.gz
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービスdeclared
注意点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.

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesshguard
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

sshguard 2.4.3-1

Protects from brute force attacks against ssh

https://sshguard.sourceforge.net

sudo apt install sshguard
  • Section: net
  • Architecture: amd64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Sshguard
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sshguard from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sshguard

nix profile install nixpkgs#sshguard
  • normalized package name match
  • 一致条件: Sshguard
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ss/sshguard/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

sshguard 2.4.2-1

Protects from brute force attacks against ssh

http://sshguard.sourceforge.net

sudo apt install sshguard
  • Section: universe/net
  • Architecture: amd64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Sshguard
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sshguard from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

sshguard 2.5.1-r0

Protects hosts from brute-force attacks against SSH and other services

https://www.sshguard.net/

sudo apk add sshguard
  • License: ISC
  • Architecture: x86_64
  • Source Package: sshguard
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Sshguard
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sshguard from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

sshguard-doc 2.5.1-r0

Protects hosts from brute-force attacks against SSH and other services (documentation)

https://www.sshguard.net/

sudo apk add sshguard-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: sshguard
  • normalized package name match
  • 一致条件: Sshguard
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sshguard-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

sshguard-openrc 2.5.1-r0

Protects hosts from brute-force attacks against SSH and other services (OpenRC init scripts)

https://www.sshguard.net/

sudo apk add sshguard-openrc
  • License: ISC
  • Architecture: x86_64
  • Source Package: sshguard
  • normalized package name match
  • 一致条件: Sshguard
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sshguard-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

sshguard 2.5.1-3.fc44

Protects hosts from brute-force attacks against SSH and other services

http://www.sshguard.net

sudo dnf install sshguard
  • License: BSD-3-Clause AND GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sshguard
  • 9 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Sshguard
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sshguard from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

sshguard-firewalld 2.5.1-3.fc44

Configuration for firewalld backend of SSHGuard

http://www.sshguard.net

sudo dnf install sshguard-firewalld
  • License: BSD-3-Clause AND GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sshguard
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Sshguard
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sshguard-firewalld from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

sshguard-iptables 2.5.1-3.fc44

Configuration for iptables backend of SSHGuard

http://www.sshguard.net

sudo dnf install sshguard-iptables
  • License: BSD-3-Clause AND GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sshguard
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Sshguard
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sshguard-iptables from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

sshguard-nftables 2.5.1-3.fc44

Configuration for nftables backend of SSHGuard

http://www.sshguard.net

sudo dnf install sshguard-nftables
  • License: BSD-3-Clause AND GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sshguard
  • 2 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Sshguard
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sshguard-nftables from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

sshguard 2.5.1-1

Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables

https://www.sshguard.net/

sudo pacman -S sshguard
  • License: GPL
  • Architecture: x86_64
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Sshguard
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sshguard from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

sshguard 2.4.3-2.3

SSH brute force attack protector

https://www.sshguard.net/

sudo zypper install sshguard
  • License: ISC
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: sshguard
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Sshguard
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sshguard from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

sshguard

sudo port install sshguard
  • normalized package name match
  • 一致条件: Sshguard
MacPorts ports tree · api.github.com · MacPorts ports tree: net/sshguard/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment