Skip to content

Instantly share code, notes, and snippets.

@andyvanee
Last active November 30, 2023 04:19
Show Gist options
  • Select an option

  • Save andyvanee/bcf95b1044b80e72b4a42933549a079b to your computer and use it in GitHub Desktop.

Select an option

Save andyvanee/bcf95b1044b80e72b4a42933549a079b to your computer and use it in GitHub Desktop.
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'

@margaret77

Copy link
Copy Markdown

really help! Thanks a lot :)

@boopathid

Copy link
Copy Markdown

Great, helped me solve the mystery.

@ZiyunYang

Copy link
Copy Markdown

Works for me!!!! Thanks!

@Arullaldivakar

Copy link
Copy Markdown

Thanks

@vikasvysetti

Copy link
Copy Markdown

Thanks! this helped.

@bdmorin

bdmorin commented Mar 3, 2021

Copy link
Copy Markdown

perfect fix, thnx

@paoloromolini

Copy link
Copy Markdown

Thanks!

@chx-hu

chx-hu commented Jun 24, 2022

Copy link
Copy Markdown

Thanks a lot!

@cruepprich

Copy link
Copy Markdown

Thank you!

@sallelujah

Copy link
Copy Markdown

๐Ÿ‘

@samtregar

Copy link
Copy Markdown

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