Emacs24: tramp funktioniert nicht mehr mit plink

1128
murphytalk

Ich verwende Emacs + tramp + plink seit dem Emacs 22 zum Bearbeiten von Dateien auf einem Remote-Unix-Server. Kürzlich habe ich mein Emacs auf 24 aktualisiert und festgestellt, dass es nicht mehr funktioniert Dort.

Hier ist meine Tramp-Konfiguration, die in Emacs 23 perfekt funktioniert hat:

 (require 'tramp) (modify-coding-system-alist 'process "plink" 'utf-8-unix) (setq tramp-default-method "plink" tramp-completion-without-shell-p t) (setq tramp-verbose 10) (setq tramp-debug-buffer t) 

Ich habe ein Putty / Plink-Profil "lab", das auf einen Remote-Unix-Server verweist. Ich öffne die Datei auf dem entfernten Server folgendermaßen:

 /plink:myaccount@lab:/home/myaccount/somefile.txt 

Im Tramp-Debug-Protokoll kann ich sehen, dass Tramp die Remote-Shell entdeckt hat:

 17:45:58.430000 tramp-get-connection-property (7) # check-remote-echo nil 17:45:58.430000 tramp-process-one-action (5) # Call `tramp-action-process-alive' 17:45:58.430000 tramp-accept-process-output (10) # *tramp/plink myaccount@lab* run 17:45:58.476000 tramp-accept-process-output (10) #  plink -l myaccount -ssh lab && exit || exit Last login: Wed Aug 14 17:43:54 2013 from 192.168.0.1  Unauthorized access to this system is strictly prohibited.  [myaccount@unixhost ~]$  

Das Problem ist, es scheint Trampel zu sein, die dann in einer Endlosschleife hängen bleiben:

17:45:58.476000 tramp-get-connection-property (7) # process-buffer nil 17:45:58.492000 tramp-maybe-open-connection (3) # Found remote shell prompt on `lab' 17:45:58.492000 tramp-get-connection-property (7) # remote-shell nil 17:45:58.492000 tramp-open-shell (5) # Opening remote shell `/bin/sh'... 17:45:58.492000 tramp-get-connection-property (7) # process-name nil 17:45:58.492000 tramp-get-connection-property (7) # remote-echo nil 17:45:58.492000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh  17:45:58.492000 tramp-get-connection-property (7) # process-name nil 17:45:58.492000 tramp-get-connection-property (7) # chunksize nil 17:45:58.492000 tramp-set-connection-property (7) # last-cmd-time (21003 17350 492000 0) 17:45:58.492000 tramp-send-string (10) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh  17:45:58.492000 tramp-get-connection-property (7) # process-buffer nil 17:45:58.492000 tramp-get-connection-property (7) # check-remote-echo nil 17:45:58.492000 tramp-get-connection-property (7) # check-remote-echo nil 17:45:58.492000 tramp-accept-process-output (10) # *tramp/plink lum@lab* run 17:45:58.539000 tramp-accept-process-output (10) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh  #$ #$  17:45:58.539000 tramp-get-connection-property (7) # check-remote-echo nil 17:45:58.539000 tramp-get-connection-property (7) # check-remote-echo nil 17:45:58.539000 tramp-accept-process-output (10) # *tramp/plink lum@lab* run 17:45:59.539000 tramp-accept-process-output (10) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh  #$ #$  

Dies würde für immer dauern, bis ich es mit Strg-G brechen kann.

Ich weiß nicht, welcher Teil schiefgelaufen ist, die gleiche Konfiguration funktioniert auch unter Emacs 23 perfekt ...

1

0 Antworten auf die Frage