ssh-graveyard is a small Bash utility that reads your SSH config, lists concrete Host entries, and checks which targets still respond to ping.
ssh_graveyard_video.mp4
It prints a table with:
HOST: the SSH alias from your configHOSTNAME: the resolved hostname fromssh -GVIA: whether the host is reached directly, throughProxyJump, or throughProxyCommandSTATUS: whether the host appearsaliveorunreachable
- Bash
- OpenSSH (
ssh) awkping- An SSH config file, defaulting to
~/.ssh/config
Install ssh-graveyard into ~/.local/bin:
mkdir -p ~/.local/bin && curl -fsSL https://raw.githubusercontent.com/aj-arts/ssh-graveyard/main/graveyard.sh -o ~/.local/bin/ssh-graveyard && chmod +x ~/.local/bin/ssh-graveyardIf ~/.local/bin is not already on your PATH, add this to ~/.zshrc or ~/.bashrc:
export PATH="$HOME/.local/bin:$PATH"Then reload your shell:
source ~/.zshrcRun it from any terminal:
ssh-graveyardOr point it at a different SSH config:
SSH_CONFIG=/path/to/config ssh-graveyard- Wildcard and negated host entries are skipped.
- Host details are resolved with
ssh -G, so values inherited from other SSH config sections are taken into account. - Reachability is based on ICMP
ping, which may reportunreachablefor hosts that block ping even if SSH still works.