blueFast
blueFast

Reputation: 44371

Tramp can not connect to remote server

I have upgraded my emacs and updated some el-get packages including tramp (my system is a bit old, and I could not upgrade some emacs packages), and now I can not use tramp to connect to a remote server:

Tramp: Opening connection for server1 using ssh...failed
byte-code: Host `server1' looks like a remote host, `ssh' can only use the local host

I am using tramp version 2.2.13-pre and emacs version 24.5.1. I have compiled emacs myself, in case it matters.

What can be going wrong? What could I try?

EDIT

I am calling tramp like this:

C-x C-f /user@server1:filename

Upvotes: 0

Views: 1613

Answers (1)

Michael Albinus
Michael Albinus

Reputation: 1656

Call emacs -Q. Likely, Tramp will work then. In this case, bisect your .emacs file and restart Emacs, until you find the package which causes the trouble.

One package which didn't cooperate well with Tramp was projectile. Disable it, when you are using it.

Upvotes: 3

Related Questions