Subject: bug#21374: 24.4; tramp-ssh-controlmaster-options broken on OSX

From: Michael Albinus <[email-masked]>
Date: Sat, 29 Aug 2015 17:46:09 +0200

Ryan <[email-masked]> writes:

Hi Ryan,

> On my OSX, the value of tramp-ssh-controlmaster-options is "-o 
> ControlPath=%t.%%r@%%h:%%p -o ControlMaster=auto -o ControlPersist=no"
> When I use these options in ordinary ssh, I get the following error:
>
> ControlPath
> "/var/folders/jj/_9jm1qrd7bg5z2fqx9z627j80000gn/T/[email-masked]:22.iMqqyqtmXQcvADvI"
> too long for Unix domain socket
>
> This prevents connection sharing from working, which results in an ssh
> reconnect on nearly every remote file operation.

This is the same bug as bug#19702, which was solved in Emacs 24.5. Could
you, pls, check whether this works for you?

If you cannot upgrade to 24.5, pls check the workaround discussed in that bug.

Best regards, Michael.