Created
September 16, 2021 11:05
-
-
Save nhthai2005/e44f4ba55bcbdcba340f2aff41a512b4 to your computer and use it in GitHub Desktop.
Speed Up SSH by Reusing Connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.ssh/config | |
Host * | |
ControlMaster auto | |
ControlPath ~/.ssh/sockets/%r@%h-%p | |
ControlPersist 600 | |
# https://puppet.com/blog/speed-up-ssh-by-reusing-connections/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment