Ever tried to SSH into another machine and somehow ended up spending 20 minutes copying keys around like it's 2003?
Yeah. Same.
diz fixes that.
Run one command on each machine, share a short code, and you're in. No key juggling required.
On the machine you want to connect to:
On your machine:
diz opens a temporary authenticated channel, swaps your public key, adds it to authorized_keys, and drops you straight into a shell. No file copying, no manual editing, no crying.
macOS
brew tap noahra/diz
brew install dizArch Linux
yay -S diz-bin| Command | What it does |
|---|---|
diz --listen |
Advertise this machine and wait for a key |
diz --listen --pb |
Same, but copy the share code to clipboard |
diz --connect <code> |
Send your key and SSH in |
diz --connect <code> --temp |
Same, but delete the generated SSH keys after the session ends (useful on shared or borrowed machines) |
diz uses your local network IP, so it works out of the box on the same network. For connecting between machines in different locations, pair it with a VPN such as Tailscale, ZeroTier, or WireGuard. Once both machines are on the same virtual network, diz works exactly the same way across any distance.
diz uses TLS with certificate pinning for the key exchange. The connection is encrypted end-to-end and protected against man-in-the-middle attacks. Each session generates a one-time certificate, and the fingerprint is embedded in the share code, so any tampering is detected and the connection is aborted immediately.

