hi.sh -> sshrc supercharged
EXPERIMENTAL UNTIL v1.0.0
Don’t sshush your hosts, say hi!
hi <host> is ssh <host> with your shell setup along: the session opens with your prompt, your aliases, and your editor configs, on a host that has none of them, and what hi put there is removed when it ends. Nothing is installed on the host. The same command opens a session in a container, a Nomad allocation, or a Kubernetes pod.
In Sixty Seconds
git clone https://github.com/ivylikethevine/say-hi ~/say-hi # or any directory you like
~/say-hi/scripts/install.sh # wires your shell's rc file and asks one question
exec $SHELL # reload
hi <anything> # ssh, with your prompt, aliases, and editors along
No sudo: the install links ~/.local/bin/hi and writes only to your rc files and ~/.config/say-hi. --dry-run shows every write first.

View these docs as a website here. New here? docs/GETTING-STARTED.md picks a starting path; docs/README.md indexes the rest.
Contents
- In Sixty Seconds
- What You Get
- Target Requirements
- Installation
- Configuration
- Built from/with/in mind
- say-hi and the alternatives
- Testing
- Getting help and contributing
- AI usage
- Roadmap
- License
What You Get
Each links to its story and GIF in the tour.
- Your aliases, in every shell, on every host:
~/.config/say-hi/rides along on every connect, even to a box that does not run your shell. - Your editors and your git: your vimrc and nanorc, under
sudotoo, and your git aliases without your keys. - Know where you are at a glance: a color per host and tag, so prod looks like prod.
- One command, every backend: ssh hosts, docker and podman containers, nomad allocations, and kubernetes pods, all through
hi <target>. - Survive a dropped link:
hi --keepruns the session in tmux on the box and reattaches after a drop. - The header tells you what’s missing: a package check on every connect, quiet when the tools are there.
- Every target in one tab:
hi <TAB>lists your ssh hosts and every running container, allocation, and pod.
Target Requirements
- Your machine: bash 3.2+,
tar,gzip,base64, andsshor the backend’s CLI (docker,podman,nerdctl,finch,nomad,kubectl). - The target:
base64(oropenssl),mktemp, and atarthat reads gzip. Withbashyou get the full session; without it, your aliases and a colored prompt. - Shells hi styles: bash 3.2, zsh 5.5, and fish 3.3 or newer.
The payload badge is what each connect sends. Every OS and shell, and everything answered no: docs/COMPATIBILITY.md.
Installation
From a clone, the four lines above. From a package (docs/PACKAGING.md has every channel):
# Debian, Ubuntu
sudo curl -fsSLo /etc/apt/keyrings/say-hi.asc https://ivylikethevine.github.io/say-hi/say-hi.asc
echo 'deb [signed-by=/etc/apt/keyrings/say-hi.asc] https://ivylikethevine.github.io/say-hi/apt stable main' |
sudo tee /etc/apt/sources.list.d/say-hi.list
sudo apt update && sudo apt install say-hi
# Fedora, RHEL, and derivatives
sudo curl -fsSLo /etc/yum.repos.d/say-hi.repo https://ivylikethevine.github.io/say-hi/say-hi.repo
sudo dnf install say-hi
# Alpine
wget -O /etc/apk/keys/say-hi.rsa.pub https://ivylikethevine.github.io/say-hi/say-hi.rsa.pub
echo https://ivylikethevine.github.io/say-hi/apk >>/etc/apk/repositories
apk add say-hi
# macOS
brew install ivylikethevine/tap/say-hi
Then run hi --install once per user to wire your shell.
- Wiring: the install wires your login shell and any of bash, zsh, and fish that already has an rc file, and asks which preset to start from. It checks each rc’s syntax first and leaves the rest of the file alone.
- Your flags:
--shell,--link,--preset, and--print-rc(for an rc a dotfile manager owns) are in docs/USAGE.md; unattended installs are Installing without a terminal. - Updating:
hi --updatemoves a clone to the newest release tag, and refuses one whose signature it cannot verify; a package updates through its package manager. -
Uninstalling:
hi --uninstallremoves hi’s rc lines, its link, and thesettings.shthe install wrote;--purgeremoves the rest of~/.config/say-hitoo. For a clone:hi --uninstall --purge && rm -rf ~/say-hi
All twenty flags are in docs/USAGE.md and man hi; a single-dash option hi does not claim goes to ssh. When something is slow or failing, run hi --doctor and see docs/TROUBLESHOOTING.md.
Configuration
Your config lives in ~/.config/say-hi/ (the overlay) and rides along to every host you say hi to. hi --configure writes settings.sh there and opens it in your editor. hi --edit colors and hi --edit packages copy the shipped defaults in for editing. Your own ~/.vimrc, ~/.nanorc, and other editor configs ride without a copy.
IMPORTANT: every file in the overlay is copied to every host you say hi to. Keep local-only lines (a token, an internal hostname) in ~/.bashrc and friends instead. What lands on a target: docs/SECURITY.md.
More: every setting and preset in docs/SETTINGS.md, the tools hi wires in (your prompt program, mise, direnv, bat, eza) in docs/INTEGRATIONS.md, and how a session reaches the target in docs/HOW-IT-WORKS.md.
Hostname, Username, and Group/Tag Colors
Every user and host gets a color derived from its name. Pin one in hi --edit colors (prod-db = "yellow" under [hostname]), color a group with a tag (hi --add-tag web1 prod), and check the result with hi --preview colors. Patterns, truecolor schemes, and the hash in your own prompt: docs/COLORS.md.
Built from/with/in mind
- sshrc — from — (became
hi.sh) - sshm — with — (optional, but highly recommended for
~/.ssh/confighost tags) - bat — in mind — (the reason the aliases.sh fallthrough logic works as portably as it does;
batis sometimesbatcat) - eza — in mind — (the colorized
lsupgrade, with its flags kept apart from plainls’s for older hosts) - fish — with — (my preferred shell: its defaults/built-ins are easy to understand, but it is not POSIX)
say-hi and the alternatives
How say-hi compares to similar tools, and when to use something else: docs/ALTERNATIVES.md.
Testing
tests/test_runner.sh runs the suites; --group fast and --group lint are the gate CI runs on every push. Runbook: docs/TESTING.md.
The coverage badge measures the shipped code over the full sweep and gates nothing.
Getting help and contributing
Questions, bugs, and ideas: docs/SUPPORT.md (hi --doctor --json answers most of what a report needs). Anything exploitable goes privately, per docs/SECURITY.md. Changes: docs/CONTRIBUTING.md; who decides: docs/GOVERNANCE.md.
AI usage
Heavily inspired by Dictionarry/Profilarr’s AI Transparency Statement.
This started as code written entirely by me, but I have used generative AI to write large parts of it. All of the code here is my responsibility regardless: AI is a tool, not an owner of a project. I have personally understood, reviewed, and approved all of the AI-generated code in this repository, and mainline releases carry the same accountability to me as anything I write and publish myself.
Roadmap
docs/ROADMAP.md: what is left to build, and what each release waits on.
License
MIT.