Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days 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 (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-24T02:21:44.000Z (about 2 months ago)
- Last Synced: 2024-11-02T07:51:40.543Z (14 days ago)
- Topics: ggh, go, ssh
- Language: Go
- Homepage:
- Size: 818 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
GGHRecall 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 [email protected]
ggh [email protected] -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.