unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt McClure <matthewlmcclure@gmail.com>
To: emacs-devel@gnu.org, tramp-devel@gnu.org
Subject: TRAMP: Host name must not match method ...
Date: Wed, 14 Aug 2013 09:06:55 -0400	[thread overview]
Message-ID: <CAJELnLHUh3X68Z8nyA=LnXdBBJpqweU6VuRbnKWw8iLogvVT7w@mail.gmail.com> (raw)

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



             reply	other threads:[~2013-08-14 13:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 13:06 Matt McClure [this message]
2013-08-16 13:15 ` TRAMP: Host name must not match method 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJELnLHUh3X68Z8nyA=LnXdBBJpqweU6VuRbnKWw8iLogvVT7w@mail.gmail.com' \
    --to=matthewlmcclure@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=tramp-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).