# assh を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:assh
```

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

### macOS

- Homebrew (100%):

```sh
brew install assh
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install assh
```

  証拠: MacPorts ports tree: sysutils/assh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#assh
```

  証拠: nixpkgs package indexes: pkgs/by-name/as/assh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:assh
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/assh>
- **バージョン:** 2.17.2
- **ソース概要:** Advanced SSH config - Regex, aliases, gateways, includes and dynamic hosts
- **ホームページ:** <https://v1.manfred.life/assh/>
- **リポジトリ:** <https://github.com/moul/assh>
- **上流ドキュメント:** <https://github.com/moul/assh#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/moul/assh/archive/refs/tags/v2.17.2.tar.gz>
- **最終更新:** 2026-05-12T16:18:23Z
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- assh (cli)
- assh (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.17.2
- マネージャ更新日: 2026-05-12
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/moul/assh
- 検出された最新: v2.17.2 (最新)
## プロジェクトの歴史と使われ方

assh is a Go-based SSH configuration helper formerly known as Advanced SSH Config. Its niche is not replacing OpenSSH, but generating and wrapping OpenSSH configuration so regular SSH-dependent tools can use richer host aliases, regex-like matching, gateways, includes, templates, Graphviz output, JSON output, and YAML configuration.

### プロジェクトの歴史

The public GitHub repository dates to 2011 and the official project page describes the rename from Advanced SSH Config to assh. The README frames the tool as a transparent wrapper around SSH: lib-ssh uses assh as a ProxyCommand, so the generated behavior works through normal ssh, scp, rsync, git, and desktop tools that rely on SSH rather than through a separate protocol stack.

The project grew around pain points in large SSH estates: gateway chaining, dynamic hostnames, inherited host templates, generated known-host entries, and automatic regeneration of ~/.ssh/config. Its README also notes that OpenSSH 7.3 later gained native Include support, which is useful context for package maintainers because some early assh value moved into the base OpenSSH feature set while assh kept broader YAML/gateway/template behavior.

### 採用の歴史

assh sits in the package-manager culture of personal infrastructure tools: the supplied Homebrew facts also list MacPorts and Nix packaging. Its README and project page emphasize integration with standard SSH consumers rather than a new client, which made it useful to developers and operators who wanted one enriched configuration layer to affect many existing commands.

### 使われ方

Typical use starts with ~/.ssh/assh.yml, optional split files under ~/.ssh/assh.d/*.yml, and generated ~/.ssh/config output. Package users mostly care about the executable because it can build or refresh OpenSSH config, graph the host topology, manage sockets, and let normal ssh invocations resolve aliases and gateway chains.

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

For package nerds, assh is an example of a small Unix-style wrapper with outsized workflow impact: it compiles declarative YAML into OpenSSH-native config, keeps compatibility with existing SSH tooling, and exposes enough introspection output to make SSH inventories scriptable. Its config-path defaults are also important because installing the package can affect a user's core ~/.ssh/config workflow.

### タイムライン

- 2011: moul/assh repository created on GitHub.
- 2016: OpenSSH 7.3 added native Include support, later noted in assh's README as overlapping with one assh configuration feature.
- 2026: GitHub repository metadata showed continued activity and the README still documented assh as an SSH wrapper/config generator.

### Related projects

- OpenSSH provides the ssh client, ~/.ssh/config, and ProxyCommand behavior that assh generates around.
- Graphviz is used by assh for host graph output.
- Other SSH inventory and config-management tools overlap with assh's generated-configuration use case, but assh's official docs emphasize staying compatible with ssh, scp, rsync, git, and lib-ssh consumers.

### ソース

- <https://api.github.com/repos/moul/assh>
- <https://github.com/moul/assh#readme>
- <https://v1.manfred.life/assh>
- source_facts.package-manager


## セキュリティノート

assh に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Unix: ~/.ssh/assh.yml, ~/.ssh/assh.d/*.yml, /etc/assh.yml, ~/.ssh/config
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** assh
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - assh: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/assh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - assh: normalized package name match | MacPorts ports tree: sysutils/assh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [autossh](https://www.automicvault.com/ja/pkg/brew/autossh/) - Shares av.db curated category or tags: cli, networking, ssh.
- [connect](https://www.automicvault.com/ja/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, ssh.
- [corkscrew](https://www.automicvault.com/ja/pkg/brew/corkscrew/) - Shares av.db curated category or tags: cli, networking, ssh.
- [putty](https://www.automicvault.com/ja/pkg/brew/putty/) - Shares av.db curated category or tags: cli, networking, ssh.
- [aerleon](https://www.automicvault.com/ja/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/ja/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/ja/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.
- [avahi](https://www.automicvault.com/ja/pkg/brew/avahi/) - Shares av.db curated category or tags: cli, networking.
- [sshportal](https://www.automicvault.com/ja/pkg/brew/sshportal/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, networking, ssh.

## Combined YAML source

View the package source record on GitHub. [combined/assh.yml](https://github.com/automic-vault/db/blob/main/combined/assh.yml)


## ソース

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