Fequish
Fequish

Reputation: 725

tramp ssh: Waiting for prompts from remote shell

I have been using emacs with tramp for a few weeks now to ssh into a server and edit some files. I do this by C-x C-f /ssh:[email protected]. Suddenly this has stopped working. I am getting "Waiting for prompts from remote shell problem" message.

However, If I don't provide a username (C-x C-f /ssh:server.com) then the connection seems to get established.

I am running emacs 24 using cygwin. How can I get this connection to work again?

Upvotes: 1

Views: 1966

Answers (1)

Daniel
Daniel

Reputation: 190

There is one relatively common reason (at least on Windows/Cygwin platform): the ssh process started by tramp gets somehow stuck and unresponsive. On my current desktop this happens once every month or so.

Just kill any ssh processes, either from your favourite cygwin terminal (with kill -9) or from your Windows task manager. This gets everything working again.

I have never encountered this problem on Linux, only on Windows/Cygwin.

Upvotes: 1

Related Questions