How to close (kill) ssh ControlMaster connections manually
95
votes
4
answers
49624
views
With the following
.ssh/config
configuration:
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
ControlPersist 4h
How to close the persisting connection before the 4 hours?
I know you can make new connections, but how to close them (all)?
Maybe there is a way to show all the persisted connections and handle them individually but I can not find it.
Asked by Paolo
(1605 rep)
Nov 5, 2011, 07:46 AM
Last activity: Mar 21, 2025, 09:08 AM
Last activity: Mar 21, 2025, 09:08 AM