back to listing index

Fix unix_listener too long for Unix domain socket

[web search]
Original source (gist.github.com)
Tags: SSH sshconfig unix-listener-too-long-for-unix-domain-socket
Clipped on: 2018-11-08
Fix unix_listener too long for Unix domain socket
1 Host *
2 ControlPath ~/.ssh/control/%C
3 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'

Image (Asset 2/4) alt=

komapa commented on Oct 4

Amazing, thank you for pointing this solution out!

Image (Asset 3/4) alt= Add header text Add bold text <cmd-b> Add italic text <cmd-i>
Insert a quote Insert code Add a link <cmd-k>
Add a bulleted list Add a numbered list Add a task list
Directly mention a user or team Reference an issue or pull request

Attach files by dragging & dropping, selecting them, or pasting from the clipboard.

Press h to open a hovercard with more details.