unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* TRAMP: Host name must not match method ...
@ 2013-08-14 13:06 Matt McClure
  2013-08-16 13:15 ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Matt McClure @ 2013-08-14 13:06 UTC (permalink / raw)
  To: emacs-devel, tramp-devel

Hi,

In recent nightly builds of Emacs, I'm struggling to use TRAMP file
paths as I've usually done. I'm getting an error message "Host name
must not match method `ssh'".

Here's a minimal test case:

    $ open -a Emacs --args -Q --no-site-file

Then:

    C-x C-f /ssh:vagrant@192.168.33.2:/ RET

Here's what *Messages* says:

    For information about GNU Emacs and the GNU system, type C-h C-a.
    Tramp: Opening connection for vagrant@192.168.33.2 using ssh...
    Tramp: Sending command `exec ssh -l vagrant  -o
ControlPath=/var/folders/_d/5p0jtv397qs73qr_frd6bw180000gn/T/tramp.9409723.%r@%h:%p
-o ControlMaster=auto -o ControlPersist=no -e none 192.168.33.2'
    Tramp: Waiting for prompts from remote shell...done
    Tramp: Found remote shell prompt on `192.168.33.2'
    Tramp: Opening connection for vagrant@192.168.33.2 using ssh...done
    completion--some: Host name must not match method `ssh'

Here's what M-x view-lossage says:

    C-x C-f C-a C-k / s s h : v a g r a n t @ 1 9 2 . 1
6 8 . 3 3 . 2 : / <return> <f1> l

I tried to reproduce more succinctly with:

    $ open -a Emacs --args -Q --no-site-file --eval '(find-file
"/ssh:vagrant@192.168.33.2:/")'

To my surprise, it worked as intended rather than failing. So maybe
that's a clue.

I found conversations on tramp-devel[1] and bug-gnu-emacs[2] that look
related, but I haven't found the right combination of keystrokes to
make it work for me.

Is this a defect, or am I doing something wrong?

If the latter, what should I do instead?

[1]: http://thread.gmane.org/gmane.emacs.tramp/8323/focus=8327
[2]: http://thread.gmane.org/gmane.emacs.bugs/72217/focus=72255

-- 
Matt McClure
http://matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-27 20:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 13:06 TRAMP: Host name must not match method Matt McClure
2013-08-16 13:15 ` Michael Albinus
2013-08-17 17:18   ` Matt McClure
2013-08-17 17:41     ` Matt McClure
2013-08-19 10:25       ` Michael Albinus
2013-08-19 12:07     ` Michael Albinus
2013-08-20  2:38       ` Matt McClure
2013-08-20 10:06         ` Michael Albinus
2013-08-27 20:01           ` Matt McClure

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).