# github-keygen を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:github-keygen
```

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

### macOS

- Homebrew (100%):

```sh
brew install github-keygen
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:github-keygen
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/github-keygen>
- **バージョン:** 1.401
- **ソース概要:** Bootstrap GitHub SSH configuration
- **ホームページ:** <https://github.com/dolmen/github-keygen>
- **リポジトリ:** <https://github.com/dolmen/github-keygen>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/dolmen/github-keygen/archive/refs/tags/v1.401.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- github-keygen (cli)
- github-keygen (エイリアス)

## macOS 提供ライブラリ

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.401
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dolmen/github-keygen
- 検出された最新: v1.401 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

github-keygen is a small Perl utility by Olivier Mengue for bootstrapping and maintaining OpenSSH configuration for GitHub. It creates a dedicated GitHub SSH key, writes a dedicated SSH config section, and installs GitHub host fingerprints in a separate known-hosts file.

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

The repository history begins with an initial release in May 2011. Its author-maintained README frames the tool as a one-shot wizard rather than a long-running daemon or library: users clone it, run it for a GitHub account, inspect the generated SSH configuration, and can remove the tool afterward.

The changelog shows the project tracking practical SSH and GitHub changes over time: stronger cipher choices in the 1.020 series, OpenSSH roaming mitigation in 1.101, generated-config versioning in 1.200, GitHub key comparison in 1.300, larger and then Ed25519 default keys in later releases, and post-quantum key-exchange list updates in 1.401.

### 採用の歴史

Adoption appears niche and security-oriented. The tool serves users who want repeatable GitHub SSH setup, multiple GitHub accounts, per-machine keys, host aliases, strict host checking, and conservative handling of an existing SSH config.

### 使われ方

Practitioners run github-keygen with a GitHub username to generate or update SSH files under ~/.ssh. The generated setup gives GitHub its own key, known_hosts file, public-key-only authentication, strict host checking, and account-specific host aliases for Git remotes.

The README emphasizes local auditability: the script is readable Perl, writes configuration files rather than a resident service, and can check GitHub public endpoints to verify registered keys unless the offline flag is used.

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

Its package value is in codifying a careful SSH setup that many developers otherwise perform by hand. That makes it a tiny but opinionated tool for users who maintain several GitHub identities or machines and prefer generated config over checklist-driven setup.

### タイムライン

- 2011: Initial release appears in the repository history.
- 2012: v1.000 begins the tagged release stream.
- 2016: v1.101 adds OpenSSH roaming vulnerability mitigation.
- 2022: v1.306 changes default key size and removes older GitHub host-key algorithms.
- 2025: v1.400 switches new keys to Ed25519 by default.

### Related projects

- github-keygen relates to OpenSSH, GitHub SSH authentication, Git for Windows, and GitHub's SSH key-management workflow.

### ソース

- <https://github.com/dolmen/github-keygen>
- <https://github.com/dolmen/github-keygen/commits/release>
- <https://github.com/dolmen/github-keygen/releases>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


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

## Credential files

- Unix: ~/.ssh/id_<github-account>@github
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** github-keygen
- **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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, github.
- [sshpass](https://pkg.so/ja/brew/sshpass/) - Shares pkgdb curated category or tags: cli, developer-tools, ssh.
- [gomplate](https://pkg.so/ja/brew/gomplate/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [docker-credential-helper](https://pkg.so/ja/brew/docker-credential-helper/) - Shares pkgdb curated category or tags: authentication, cli, developer-tools.
- [jsonnet](https://pkg.so/ja/brew/jsonnet/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [kubelogin](https://pkg.so/ja/brew/kubelogin/) - Shares pkgdb curated category or tags: authentication, cli, developer-tools.
- [yamlfmt](https://pkg.so/ja/brew/yamlfmt/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [conftest](https://pkg.so/ja/brew/conftest/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [github-markdown-toc](https://pkg.so/ja/brew/github-markdown-toc/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, github.
- [github-release](https://pkg.so/ja/brew/github-release/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, github.
- [github-codeowners](https://pkg.so/ja/npm/github-codeowners/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, github.

## Combined YAML source

View the package source record on GitHub. [combined/github-keygen.yml](https://github.com/mxcl/pkgdb/blob/main/combined/github-keygen.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
