I've been using
tramp to edit remote files for a few years now, but suddenly it stopped working yesterday. I haven't changed anything relevant that I can think of. For testing, I tried opening a file on
\C-x C-f /ssh:localhost:/home/terdon/test. That bring up the
Waiting for prompts from remote shell... message and times out after about a minute with:
Timeout reached, see buffer '*tramp/ssh localhost*' for details
*tramp/ssh localhost* is shown in the buffers menu but disappears as soon as I try to switch to it.
- I am running GNU emacs 25.3.1 on Arch Linux.
- I have updated my system and the elpa packages I have installed.
To rule out problems with the remote prompt, I have replaced my
$ cat ~/.bashrc PS1='$ ' $ cat ~/.profile PS1='$ '
Yes, my default shell is bash and no, I don't have a
I have set up passwordless ssh to all the servers that I've tried and which used to work. Including
ssh localhostworks fine with no password).
.emacsfile has (the full file can be found here: https://pastebin.com/QGgPE3SS):
(setq tramp-default-method "sshx") (setq tramp-verbose 10)
The contents of the
*debug tramp/ssh localhost*buffer are here: https://pastebin.com/F6r6d5cN.
I read Tramp: Waiting for prompts from remote shell... Sending command `exec ssh -e none bin' and added these lines to my
Host * ControlPath ~/.ssh/master-%r@%h:%p ControlMaster auto ControlPersist = no
However, despite that, as you can see in the output in the previous bullet point, I still get
command-line line 0: Missing ControlPersist argumentline. Is that an issue?
sshcommand from tramp's log maually works fine:
$ ssh -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none localhost Last login: Tue Apr 24 13:58:15 2018 from ::1 $
Trying the same thing after loading emacs with
emacs -Qgives the same problem, so it isn't something to do with my
I created a new user with default settings and tried as that user and it worked! So while
emacs -Qdoesn't solve the issue, running as a new user does! What could cause that?
What else can I check? How can I get my tramp back again?