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'

@kirooshu
Copy link

kirooshu commented Oct 4, 2018

Amazing, thank you for pointing this solution out!

@tedpearson
Copy link

tedpearson commented Dec 11, 2018

This just helped me, thanks!

@kongpingfan
Copy link

kongpingfan commented Jan 8, 2019

Thanks a lot! SOLVED MY PROBLEM~

@wolandtel
Copy link

wolandtel commented Jan 9, 2019

Thank you.

@ramankhurana
Copy link

ramankhurana commented Jan 22, 2019

worked in first attempt. Thanks for providing this solution.

@margaret77
Copy link

margaret77 commented Apr 24, 2019

really help! Thanks a lot :)

@boopathid
Copy link

boopathid commented Aug 8, 2019

Great, helped me solve the mystery.

@ZiyunYang
Copy link

ZiyunYang commented May 4, 2020

Works for me!!!! Thanks!

@Arullaldivakar
Copy link

Arullaldivakar commented Sep 10, 2020

Thanks

@vikasvysetti
Copy link

vikasvysetti commented Feb 17, 2021

Thanks! this helped.

@bdmorin
Copy link

bdmorin commented Mar 3, 2021

perfect fix, thnx

@paoloromolini
Copy link

paoloromolini commented Jul 6, 2021

Thanks!

@Chenxi74
Copy link

Chenxi74 commented Jun 24, 2022

Thanks a lot!

@cruepprich
Copy link

cruepprich commented Jun 28, 2022

Thank you!

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