MCPcopy Index your code
hub / github.com/byawitz/ggh

github.com/byawitz/ggh @v0.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.5 ↗ · + Follow
52 symbols 160 edges 19 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img width="80" height="70" src="https://github.com/byawitz/ggh/raw/v0.1.5/assets/ggh.png" alt="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 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.

Core symbols most depended-on inside this repo

ParseWithSearch
called by 6
internal/config/parser.go
generateHelpBlock
called by 5
internal/interactive/select.go
Fetch
called by 4
internal/history/fetch.go
GetConfigFile
called by 4
internal/config/file.go
FetchWithDefaultFile
called by 3
internal/settings/settings.go
Save
called by 3
internal/settings/settings.go
getFile
called by 3
internal/history/file.go
PrintTable
called by 2
internal/theme/tables.go

Shape

Function 41
Method 4
Struct 4
TypeAlias 3

Languages

Go100%

Modules by API surface

internal/interactive/select.go9 symbols
internal/settings/settings.go6 symbols
internal/history/save.go5 symbols
internal/history/fetch.go5 symbols
internal/config/parser.go5 symbols
internal/config/file.go4 symbols
internal/theme/tables.go2 symbols
internal/ssh/ssh.go2 symbols
internal/interactive/display.go2 symbols
internal/history/file.go2 symbols
internal/config/parser_test.go2 symbols
internal/command/flags.go2 symbols

For agents

$ claude mcp add ggh \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact