I have always found TRAMP to be crazy slow (5+ secs to fetch a directory listing) so I've avoided it for years. Time to figure out what is going on. I'm always connecting via ssh, using declarations in ~/.ssh/config. The connections are fine, I've survived buy running remote emacs sessions in a terminal.
I figured out how to turn on tramp debugging but not sure how to read the output. It appears that there might be a delay before tramp starts doing anything? Perhaps tramp is conflicting with some other mode?
emacs -Q
? Does it happen when you try to connect withssh
manually?dired-mode
when navigating the shared server. However, I don't use a ~/.ssh/config. I just have theknown_hosts
file that gets set up the first time I connected via ssh. Do you have the most recent stable public release of Emacs built for OSX?(setq tramp-verbose 6)
. The debug output includes timestamps, this might tell us what happens. Since sx might not be the best medium for discussing traces, you might send them to the Tramp mailing list, or directly to me.process-connection-type
tonil
and watch for any relevant bugs here.tramp-cleanup-all-connections
andtramp-cleanup-all-buffers
made a difference.