| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
cmc makes SSH ControlMaster sessions easy. SSH ControlMaster sessions have the following benefits:
Usage: cmc [ -c HOST | -o HOST | -x HOST ]
cmc [ -L | -l | -O | -X ]
cmc -h
ControlMaster Controller - Eases management of SSH ControlMaster connections
Options:
-h show this help message and exit
-c HOST check HOST ControlMaster connection status (maybe specified more
than once)
-L list ControlMasters defined in SSH_CONFIG
-l list ControlMaster connection sockets matching ControlPath and
check their connection status
-O open all ControlMasters defined in SSH_CONFIG
-o HOST open a ControlMaster session (maybe specified more than once)
-x HOST exit ControlMaster session (maybe specified more than once)
-X exit all ControlMaster connections with sockets matching
ControlPath
Notes:
• Any unused sockets in ControlPath are removed with -l and -X
• Only a single ControlPath should be specified
Install Homebrew — The missing package manager for macOS
Add the cmc "tap" and install cmc:
brew tap ClockworkNet/cmc brew install cmc
Alternatively, since cmc is a bash script without esoteric dependencies, you can simply download it and ensure it is in your PATH.
If this utility is helpful for you, please star this project so that it can eventually be included in Homebrew proper. Thank you!
Note: This utility is largely deprecated by the addition of ControlPersist in OpenSSH 5.6. It allows ControlMaster sessions to be configured to timeout instead of relying on a utility like cmc to manage them. See ssh_config(5) for more details.
See docs/workflow.rst.
See docs/annotated_config.rst.
Development of this project has been supported by Clockwork (ClockworkNet). Thank you!
| Back | FazBrowse Home | New Git URL |