[MacPorts] #29794: emacs-app @23.3_0 Problem using tramp in emacs.app: "ControlPath too long"

MacPorts noreply at macports.org
Sun Jun 12 10:46:46 PDT 2011


#29794: emacs-app @23.3_0 Problem using tramp in emacs.app: "ControlPath too long"
-------------------------------+--------------------------------------------
 Reporter:  gorzarg@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:                     |        Port:  emacs-app                            
-------------------------------+--------------------------------------------
 OS: 10.6.7
 Xcode: Version 3.2.6 (1761)

 Using tramp in emacs.app results in the error "ControlPath too long" after
 typing in the remote machine's password.

 For example, in emacs:

 1) "C-x C-f" to find a file

 2) Type "/user at remotemachine:somefile.txt"

 3) Asks for password, (type the correct one in).

 4) Results in this error:

 user at remotemachine's password:
 ControlPath too long

 Process *tramp/scpc remotemachine* exited abnormally with code 255


 In the *Messages* buffer, it says the tramp is doing the command:

 Tramp: Sending command `exec ssh   -o
 ControlPath=/var/folders/...a_really_long_dir_name.../-Tmp-/tramp.442LsW.%r@%h:%p
 -o ControlMaster=yes -e none remotemachine'

 So I think the ControlPath is just too long for ssh.

 Note: I don't think this is a problem with tramp itself, because I
 compared the tramp files in
 /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/ with the
 ones on a linux machine where tramp works, and they're pretty much the
 same.

 Any suggestions or fixes?

-- 
Ticket URL: <https://trac.macports.org/ticket/29794>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list