# 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
- **バージョン:** 1.401
- **ソース概要:** Bootstrap GitHub SSH configuration
- **ホームページ:** <https://github.com/dolmen/github-keygen>
- **リポジトリ:** <https://github.com/dolmen/github-keygen>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- github-keygen (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.401
## プロジェクトの歴史と使われ方

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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
