Skip to content
forked from byawitz/ggh

Recall your SSH sessions (also search your SSH config file)

License

Notifications You must be signed in to change notification settings

chrisfinazzo/ggh

 
 

Repository files navigation

GGH logo

GGH

Recall your SSH sessions

GGH Demo

Install

Run one of the following script, or download the latest binary from the releases page.

# 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

# 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.

About

Recall your SSH sessions (also search your SSH config file)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.0%
  • Shell 11.7%
  • PowerShell 8.3%