Skip to content

Instantly share code, notes, and snippets.

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'

@komapa

This comment has been minimized.

Copy link

commented Oct 4, 2018

Amazing, thank you for pointing this solution out!

@tedpearson

This comment has been minimized.

Copy link

commented Dec 11, 2018

This just helped me, thanks!

@kongpingfan

This comment has been minimized.

Copy link

commented Jan 8, 2019

Thanks a lot! SOLVED MY PROBLEM~

@wolandtel

This comment has been minimized.

Copy link

commented Jan 9, 2019

Thank you.

@ramankhurana

This comment has been minimized.

Copy link

commented Jan 22, 2019

worked in first attempt. Thanks for providing this solution.

@margaret77

This comment has been minimized.

Copy link

commented Apr 24, 2019

really help! Thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.