I have a very strange issue. I have no idea how to debug. TRAMP hangs every time I issue it via C-x C-f (and choose ssh), when I try to execute a org code block:

 :tangle:   /zeltak@aaa.zzz.yyy.xxx:/home/zeltak/.i3/config :mkdirp yes

but when I try to launch it with M-x ssh it does prompt me for a passwords and connects fine.

Any clue what can be going on?

  • Does this happen when you start Emacs using emacs -Q? If not, recursively bisect your init file to locate the problem. If yes, provide a step-by-step recipe to reproduce the problem, and state your platform, Emacs version, etc. IOW, provide an actionable question, please. – Drew Aug 16 '16 at 16:02
  • What is M-x ssh? I've never seen that before. What does C-h f ssh RET tell you about it? – Aaron Miller Aug 16 '16 at 19:57
  • hi. this is the output: ssh is an interactive autoloaded Lisp function in `ssh.el'. (ssh INPUT-ARGS &optional BUFFER) – zeltak Aug 17 '16 at 3:42

I found the 2 culprits and am reporting here for future use of anyone else. Following Drew's suggestion I spent a few hours binary partitioning my config and found 2 packages that interfered with proper tramp use: keychain-environment and dired-toggle-sudo

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.