SSH Management
Stop grepping through ~/.ssh/config. mine ssh gives you a fuzzy host picker, key management, tunnel shortcuts, and shell helper functions — all using your existing SSH config as the source of truth.
Key Capabilities
Section titled “Key Capabilities”- Fuzzy host picker — interactive searchable list of configured SSH hosts
- Host management — add and remove hosts from
~/.ssh/configinteractively - Key management — generate ed25519 keys, list key fingerprints, copy keys to remotes
- Port forwarding — start SSH tunnels with a simple
host local:remotesyntax - Shell functions —
sc,scp2,stun,skeyshortcuts viamine shell init
Quick Example
Section titled “Quick Example”# Connect to a host interactivelymine ssh
# Set up a new servermine ssh add stagingmine ssh keygen stagingmine ssh copyid staging
# Start a tunnelmine ssh tunnel db 5433:5432How It Works
Section titled “How It Works”The bare mine ssh command opens a fuzzy picker showing all your configured hosts — type to filter, Enter to connect. For setup, mine ssh add walks you through creating a host block interactively (alias, hostname, user, port, identity file) and appends it to ~/.ssh/config.
Key management wraps ssh-keygen with secure defaults (ed25519). mine ssh keys lists all your key pairs with fingerprints and shows which hosts use each key. Tunnels use ssh -N -L with ExitOnForwardFailure for reliable port forwarding.
The shell functions from mine shell init add one-liners: sc myserver to connect, scp2 for resumable copies, stun for quick tunnels, and skey to copy your public key to the clipboard.
Learn More
Section titled “Learn More”See the command reference for all subcommands, flags, and detailed usage.