Skip to content

mirrorball v0.1.0

Latest

Choose a tag to compare

@heysanil heysanil released this 24 Aug 20:52
· 17 commits to main since this release
6cbedd3

Instant SSH port forwarding that tells you the truth about whether it worked.

mirb 10.0.0.7 3000 3010 8080

mirrorball wraps the system ssh rather than reimplementing it, so ~/.ssh/config aliases, ProxyJump, agent forwarding and hardware keys all apply untouched. What it adds is honesty about state: a forward is bound when the local socket accepts, ready when a probe reached the remote service, and refused when the tunnel is healthy and the service is not. ssh -L cannot tell those apart.

Install

curl -fsSL https://raw.githubusercontent.com/heysanil/mirrorball-cli/main/scripts/install.sh | sh

The installer verifies the SHA-256 against checksums.txt before installing, and puts both mirb and a mirrorball alias on your PATH.

Highlights

  • Port forms: 3000, 8080:80, 8080:db.internal:5432, ranges, and --auto-port
  • Background sessions with mirb ls / stop / logs
  • Named profiles in ~/.config/mirb/config.toml
  • Built for automation: --json NDJSON events, typed exit codes, and --background --json that does not print until the ports are usable
  • Forwards bind to loopback by default; anything wider is refused unless you pass --expose

Docs: documentation tree