https://github.com/byawitz/ggh
Recall your SSH sessions (also search your SSH config file)
https://github.com/byawitz/ggh
ggh go ssh
Last synced: 6 months ago
JSON representation
Recall your SSH sessions (also search your SSH config file)
- Host: GitHub
- URL: https://github.com/byawitz/ggh
- Owner: byawitz
- License: apache-2.0
- Created: 2024-08-26T03:51:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-30T14:45:57.000Z (7 months ago)
- Last Synced: 2025-05-13T23:46:03.612Z (6 months ago)
- Topics: ggh, go, ssh
- Language: Go
- Homepage:
- Size: 818 KB
- Stars: 727
- Watchers: 6
- Forks: 23
- Open Issues: 20
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - ggh - Recall your SSH sessions, also searching your SSH config file. (<a name="networking"></a>Networking)
README
GGH
Recall your SSH sessions

## Install
Run one of the following script, or download the latest binary from the [releases](https://github.com/byawitz/ggh/releases) page.
```shell
# Unix based
curl https://raw.githubusercontent.com/byawitz/ggh/master/install/unix.sh | sh
# Windows
powershell -c "irm https://raw.githubusercontent.com/byawitz/ggh/master/install/windows.ps1 | iex"
# Go
go install github.com/byawitz/ggh@latest
```
## Usages
```shell
# Use it just like you're using SSH
ggh root@server.com
ggh root@server.com -p2440
# Run it with no arguments to get interactive list of the previous sessions
ggh
# Run it with - to get interactive list of all of your ~/.ssh/config listing
ggh -
# Run it with - STRING to get interactive filtered list of your ~/.ssh/config listing
ggh - stage
ggh - meta-servers
# To get non-interactive list of history and config, run
ggh --config
ggh --history
```
### GGH is NOT replacing SSH
In fact, GGH won't work if SSH is not installed or isn't available in your system's path.
GGH is meant to act as a lightweight, fast wrapper around your SSH commands.