-
Problem: unix listener too long for Unix domain socket
-
Solution:
mkdir ~/.ssh/control
and modify~/.ssh/config
use the%C
format instead of%r@%h:%p
-
More Detail:
man ssh_config
defines the%C
format as 'a hash of the concatenation: %l%h%p%r'
Last active
November 30, 2023 04:19
-
-
Save andyvanee/bcf95b1044b80e72b4a42933549a079b to your computer and use it in GitHub Desktop.
Fix unix_listener too long for Unix domain socket
This file contains 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
Host * | |
ControlPath ~/.ssh/control/%C | |
ControlMaster auto |
👍
Worked for me! AWS host names are so long!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!