Skip to content

Instantly share code, notes, and snippets.

@andyvanee
Last active February 4, 2023 20:24
  • Star 50 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Fix unix_listener too long for Unix domain socket
Host *
ControlPath ~/.ssh/control/%C
ControlMaster auto
  • 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'

@paoloromolini
Copy link

Thanks!

@Chenxi74
Copy link

Thanks a lot!

@cruepprich
Copy link

Thank you!

@sallelujah
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment