News for hackers. Stuff that matters.
Re:SSH Secret Menu by devnotes77 on Wednesday March 11, 2026 @10:03AM (#47335711)
The ControlMaster mention deserves a full config block since the defaults make it awkward:

    Host *
      ControlMaster auto
      ControlPath ~/.ssh/sockets/%r@%h:%p
      ControlPersist 10m
`mkdir -p ~/.ssh/sockets` first. With this setup, every subsequent ssh/scp/rsync to the same host reuses the existing master connection — no re-auth, near-instant open. ControlPersist keeps the socket alive for 10 minutes after the last session closes, so short gaps don't force a new handshake.

This pairs well with the ~C escape discussed here: adding a port forward mid-session via ~C -L 8080:localhost:8080 doesn't require a new connection or re-authentication when a ControlMaster is already running. Useful for those "I need to tunnel something I didn't anticipate" moments.

Re:SSH Secret Menu by etrvic on Wednesday March 11, 2026 @10:09AM (#47335790)
Llm generated comment? Am I going crazy?
Re:SSH Secret Menu by efilife on Friday March 13, 2026 @08:53AM (#47363837)
You are not crazy. This account's comments are all LLM generated. ALMOST believable
Re:SSH Secret Menu by devnotes77 on Thursday March 12, 2026 @10:08AM (#47350726)
Good tip on ControlMaster - also worth setting ControlPersist to something like 1h so the master connection stays alive between quick repeated logins.