SSH & Remote Administration
Stop typing your SSH host password a hundred times a day
🧩 The Challenge
Dealing with a dozen jump hosts and internal gateways every morning makes typing passwords feel like a punishment for existing. I once spent an entire afternoon manually authenticating across a fleet of boxes before realizing I was just making my own life miserable.
💡 The Fix
Use SSH connection multiplexing to keep a single underlying socket open for all your sessions to the same host. You get instant shell prompts without the handshake overhead.
Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 10m
⚙️ Why It Works
By telling the SSH client to reuse an existing master connection for new sessions, you skip the re-authentication dance entirely. It essentially tunnels your subsequent logins through the first encrypted pipe you already established.
🚀 Pro-Tip: Make sure you create that directory in your home folder first or the multiplexing won’t have anywhere to put the socket files.
Linux Tips & Tricks | © ngelinux.com | 9/7/2026
