Instantly share code, notes, and snippets.
andyvanee/.ssh_config
Last active November 30, 2023 04:19- Star 55 (55) You must be signed in to star a gist
- Fork 6 (6) You must be signed in to fork a gist
-
Select an option
No results found
Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/andyvanee/bcf95b1044b80e72b4a42933549a079b.js"></script> - Save andyvanee/bcf95b1044b80e72b4a42933549a079b to your computer and use it in GitHub Desktop.
Select an option
No results found
Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/andyvanee/bcf95b1044b80e72b4a42933549a079b.js"></script> Save andyvanee/bcf95b1044b80e72b4a42933549a079b to your computer and use it in GitHub Desktop. Download ZIP Fix unix_listener too long for Unix domain socket Raw .ssh_config This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters| Host * | |
| ControlPath ~/.ssh/control/%C | |
| ControlMaster auto |
-
Problem: unix listener too long for Unix domain socket
-
Solution:
mkdir ~/.ssh/controland modify~/.ssh/configuse the%Cformat instead of%r@%h:%p -
More Detail:
man ssh_configdefines the%Cformat as 'a hash of the concatenation: %l%h%p%r'
komapa commented Oct 4, 2018
Copy link Copy MarkdownAmazing, thank you for pointing this solution out!
tedpearson commented Dec 11, 2018
Copy link Copy MarkdownThis just helped me, thanks!
kongpingfan commented Jan 8, 2019
Copy link Copy MarkdownThanks a lot! SOLVED MY PROBLEM~
wolandtel commented Jan 9, 2019
Copy link Copy MarkdownThank you.
ramankhurana commented Jan 22, 2019
Copy link Copy Markdownworked in first attempt. Thanks for providing this solution.
margaret77 commented Apr 24, 2019
Copy link Copy Markdownreally help! Thanks a lot :)
boopathid commented Aug 8, 2019
Copy link Copy MarkdownGreat, helped me solve the mystery.
ZiyunYang commented May 4, 2020
Copy link Copy MarkdownWorks for me!!!! Thanks!
Arullaldivakar commented Sep 10, 2020
Copy link Copy MarkdownThanks
vikasvysetti commented Feb 17, 2021
Copy link Copy MarkdownThanks! this helped.
bdmorin commented Mar 3, 2021
Copy link Copy Markdownperfect fix, thnx
paoloromolini commented Jul 6, 2021
Copy link Copy MarkdownThanks!
chx-hu commented Jun 24, 2022
Copy link Copy MarkdownThanks a lot!
cruepprich commented Jun 28, 2022
Copy link Copy MarkdownThank you!
sallelujah commented Sep 28, 2022
Copy link Copy Markdown👍
samtregar commented Sep 19, 2023
Copy link Copy MarkdownWorked 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