🍺 BREW Explorer

← all formulae

github-keygen

brew install github-keygen v1.401 GPL-3.0-or-later

Bootstrap GitHub SSH configuration

4
30-day installs · #11402
26
90-day · #9079
225
365-day · #7063
265
★ GitHub stars · updated 4mo ago

GitHub topics

cli-app github ssh ssh-client ssh-config tool

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Bootstrap GitHub SSH configuration",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:07+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "github-keygen",
  "github_default_branch": "release",
  "github_last_commit_at": "2026-04-20T15:56:14Z",
  "github_readme_excerpt": "=pod\n\n=encoding utf8\n\n=for stopwords MITM versioning\n\n=head1 NAME\n\ngithub-keygen - bootstrap and manage your SSH configuration for GitHub\n\n=head1 SYNOPSIS\n\nUnix/Linux/MacOS X:\n\n    git clone https://github.com/dolmen/github-keygen.git\n    cd github-keygen\n    ./github-keygen \u003cmy-github-username\u003e\n    cd ..\n    rm -Rf github-keygen\n\nWindows (with msysgit or Cygwin):\n\n    git clone https://github.com/dolmen/github-keygen.git\n    cd github-keygen\n    github-keygen \u003cmy-github-username\u003e\n    cd ..\n    rd /S /Q github-keygen\n\n=head1 DESCRIPTION\n\nThis script makes it easy to create an initial environment setup for secure\nGitHub exchanges. More secure that what the GitHub help pages recommends.\n\nBut it does much more than that:\n\n=over 4\n\n=item *\n\nThis tool B\u003cautomates the SSH setup\u003e. Fewer human errors. And\na high level of security.\n\n=item *\n\nIt creates a new SSH B\u003cprivate key dedicated\u003e to GitHub exchanges. This is much\nbetter than using the same SSH key to connect to multiple hosts.\n(If you lose that key, just revoke it in\nL\u003cyour GitHub account SSH settings|https://github.com/settings/keys\u003e, remove the\nkey file, and re run C\u003cgithub-keygen\u003e).\n\n=item *\n\nAs the process of creating an different SSH key for GitHub now becomes easy, it\nis now much easier to use a different SSH key for GitHub on each computer\nyou use to publish on GitHub. This will help you to use the best practices in\nSSH security.\n(If you lose that computer or if it is compromised, just revoke the key in\nL\u003cyour GitHub account SSH settings|https://github.com/settings/keys\u003e:\nyou don\u0027t have to recreate a new key on all your other computers).\n\n=item *\n\nThe\nL\u003cGitHub manual|https://help.github.com/articles/generating-ssh-keys\u003e used to tell to\nI\u003cremove\u003e your existing SSH keys. But this may not be what you want. This tool\navoids that: keep your keys and your existing SSH config; they will not be used\nfor GitHub.\n\n=item *\n\nIt setups a B\u003cvery secure SSH configuration for GitHub\u003e, independent of your\nother SSH settings:\n\n=",
  "github_repo": "dolmen/github-keygen",
  "github_stars": 265,
  "github_topics": [
    "cli-app",
    "github",
    "ssh",
    "ssh-client",
    "ssh-config",
    "tool"
  ],
  "homepage": "https://github.com/dolmen/github-keygen",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 4,
  "installs_365d": 225,
  "installs_90d": 26,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "github-keygen",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 11402,
  "rank_365d": 7063,
  "rank_90d": 9079,
  "raw_hash": "387b39a17bc32e46",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/github-keygen.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "perl"
  ],
  "version_head": "HEAD",
  "version_stable": "1.401",
  "versioned_formulae": [],
  "why_use_this": null
}