From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel,gmane.emacs.tramp Subject: Re: TRAMP: Host name must not match method ... Date: Fri, 16 Aug 2013 15:15:10 +0200 Message-ID: <87y581dbfl.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376658935 31743 80.91.229.3 (16 Aug 2013 13:15:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 13:15:35 +0000 (UTC) Cc: tramp-devel@gnu.org, emacs-devel@gnu.org To: Matt McClure Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 16 15:15:37 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VAJsO-0002H8-Bj for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 15:15:36 +0200 Original-Received: from localhost ([::1]:58920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJsN-0007nn-Cf for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 09:15:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJsC-0007ml-CQ for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:15:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAJs4-0004Sd-2i for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:15:24 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:59800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJs3-0004SM-Od for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:15:16 -0400 Original-Received: from detlef.gmx.de ([91.41.136.123]) by mail.gmx.com (mrgmx102) with ESMTPS (Nemesis) id 0M0bo2-1VxTiO1l8g-00urkK for ; Fri, 16 Aug 2013 15:15:14 +0200 In-Reply-To: (Matt McClure's message of "Wed, 14 Aug 2013 09:06:55 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:P0soGku6hAK6hushnK5KGmgJE8tSu96ksrNuWNsY3aYxQtGyq1f gER6YYroR/HKDVe3tJnAC1yZoW6nptSend5Elg9XKT2nWBkHpsrSSytFHHy4ZQVApORejG7 W4dyOHOa67eBwQer3dD/n8XapG+f0BLEu4R8dbR5COPiVJ8Vh1Fcph69VFS2P5eNhSeUMHU PzzR7AFdoxfEdDChdQmcA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162810 gmane.emacs.tramp:8388 Archived-At: Matt McClure writes: > Hi, Hi Matt, > 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 I'm not able to reproduce it. Trying with other IP address and user name of course, but it works locally (as every single day) for me. > 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' It is unclear where the error comes from. Could you, please, perform (setq debug-on-error t tramp-verbose 6) and rerun the test. There might be a backtrace, and there will be a Tramp debug buffer. Both might show us what's up. > 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. No, this doesn't help. The test in Tramp is not performed when you are not in interactive mode. So it is normal that it works for you this way. Best regards, Michael.