# Install ggh with Homebrew, Nix

Recall your SSH sessions. Version 0.1.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ggh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ggh
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ggh
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gg/ggh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:ggh
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ggh>
- **Version:** 0.1.5
- **Source summary:** Recall your SSH sessions
- **Homepage:** <https://github.com/byawitz/ggh>
- **Repository:** <https://github.com/byawitz/ggh>
- **Upstream docs:** <https://github.com/byawitz/ggh#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/byawitz/ggh/archive/refs/tags/v0.1.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ggh (cli)
- ggh (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.5
- Local data: ok
- Upstream repository: https://github.com/byawitz/ggh
- Upstream latest detected: v0.1.5 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

ggh is a lightweight SSH wrapper that remembers SSH invocations and searches entries from a user's SSH configuration.

### Project history

The byawitz/ggh repository was created in August 2024 and published its v0.1.0 release the same day. The README identifies GGH as a small wrapper around SSH rather than a replacement for OpenSSH, and the repository later added install scripts and release binaries for Unix-like systems and Windows.

### Adoption history

ggh spread through the ordinary small-CLI route: GitHub releases, `go install`, Homebrew packaging, Nix packaging, and AUR packages. Its appeal is practical rather than platform-defining: it gives terminal users a recall list for SSH targets without adopting a heavier connection manager.

### How it is used

Practitioners invoke `ggh` like `ssh` for direct connections, run it without arguments to select from previous sessions, run `ggh -` to browse `~/.ssh/config`, and use `--config` or `--history` for non-interactive listing.

### Why package nerds care

The package is a good example of a small Go utility that turns shell history and SSH config conventions into a dedicated executable while still depending on the system SSH client.

### Timeline

- 2024: The GitHub repository was created and v0.1.0 was published.
- 2024: v0.1.4 was published.
- 2025: v0.1.5 was published.

### Related projects

- ggh is related to OpenSSH and to terminal fuzzy-selection workflows, but it deliberately stays a wrapper around the installed `ssh` executable.

### Sources

- <https://api.github.com/repos/byawitz/ggh>
- <https://api.github.com/repos/byawitz/ggh/releases>
- <https://aur.archlinux.org/packages/ssh-ggh>
- <https://formulae.brew.sh/formula/ggh>
- <https://github.com/byawitz/ggh>
- <https://raw.githubusercontent.com/byawitz/ggh/master/readme.md>


## Security Notes

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

- **Geiger risk:** blue / medium
- 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
## Source Database Details

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

## Other Package-Manager Records

- Nix - ggh: normalized package name match | nixpkgs package indexes: pkgs/by-name/gg/ggh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [lazyssh](https://www.automicvault.com/pkg/brew/lazyssh/) - Shares av.db curated category or tags: cli, go, networking, ssh.
- [trzsz-ssh](https://www.automicvault.com/pkg/brew/trzsz-ssh/) - Shares av.db curated category or tags: cli, networking, ssh, terminal.
- [wishlist](https://www.automicvault.com/pkg/brew/wishlist/) - Shares av.db curated category or tags: cli, networking, ssh, terminal.
- [autossh](https://www.automicvault.com/pkg/brew/autossh/) - Shares av.db curated category or tags: cli, networking, ssh.
- [boring](https://www.automicvault.com/pkg/brew/boring/) - Shares av.db curated category or tags: cli, networking, ssh.
- [corkscrew](https://www.automicvault.com/pkg/brew/corkscrew/) - Shares av.db curated category or tags: cli, networking, ssh.
- [hss](https://www.automicvault.com/pkg/brew/hss/) - Shares av.db curated category or tags: cli, networking, ssh.
- [pssh](https://www.automicvault.com/pkg/brew/pssh/) - Shares av.db curated category or tags: cli, networking, ssh.

## Combined YAML source

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


## Sources

- 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
