Sean Whitton <[email protected]> writes: > Dear all,
Hi, > Been happily using TRAMP for months but all of a sudden it’s hanging on > “Waiting for prompts from remote server”. Have tried on a different > machine with identical Emacs config and it works fine, so I think there > might be a cache file that’s corrupted that I need to remove, or > something? I’ve tried deleting ~/.emacs.d/tramp but that doesn’t help. You must stop Emacs, delete ~/.emacs.d/tramp, and restart Emacs then. ~/.emacs.d/tramp is written when exiting Emacs. Much simpler is to call "M-x tramp-cleanup-all-connections", which has the same effect. > 10:37:03.026874 tramp-send-command (6) # exec ssh -l swhitton -e none athena ... > 10:37:04.032096 tramp-accept-process-output (10) # *tramp/ssh > swhitton@athena* run > 10:37:04.904014 tramp-accept-process-output (3) # Opening connection for > swhitton@athena using ssh...done > 10:37:04.904150 tramp-file-name-handler (1) # Interrupt received in operation > (expand-file-name /athena:htdocs/blog/entries/ nil) This is less than 2 seconds. Have you interrupted the connection immediately? According to the traces, the remote server didn't return any string (yet). What happens, if you call in a shell # ssh -l swhitton -e none athena > Thanks. > > S Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
