macOS
brew install github-keygenlocal Homebrew formula metadata
安装
brew install github-keygenlocal Homebrew formula metadata
概览
Bootstrap GitHub SSH configuration
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.ssh/configCredential-bearing paths to review before unattended agent runs.
~/.ssh/id_<github-account>@github可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
github-keygen | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:github-keygen |
|---|---|
| 版本 | 1.401 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/dolmen/github-keygen |
| 仓库 | https://github.com/dolmen/github-keygen |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.