Skip to content

Instantly share code, notes, and snippets.

Last active February 4, 2023 20:24
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'

Copy link

komapa commented Oct 4, 2018

Amazing, thank you for pointing this solution out!

Copy link

This just helped me, thanks!

Copy link

Thanks a lot! SOLVED MY PROBLEM~

Copy link

Thank you.

Copy link

worked in first attempt. Thanks for providing this solution.

Copy link

really help! Thanks a lot :)

Copy link

Great, helped me solve the mystery.

Copy link

Works for me!!!! Thanks!

Copy link


Copy link

Thanks! this helped.

Copy link

bdmorin commented Mar 3, 2021

perfect fix, thnx

Copy link


Copy link

Thanks a lot!

Copy link

Thank you!

Copy link


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