From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: poti@potis.org Newsgroups: gmane.emacs.help Subject: Re: NTEmacs + plink Date: Wed, 13 Jun 2007 16:39:51 -0400 Message-ID: <20070613203951.GA28129@mail.potis.org> References: <1179363834.155446.234830@q75g2000hsh.googlegroups.com> <20070610214402.GB21395@mail.potis.org> <20070611054613.GA22370@mail.potis.org> <87bqfleyhe.fsf@gmx.de> <20070612234431.GA26155@mail.potis.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181767232 11671 80.91.229.12 (13 Jun 2007 20:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 20:40:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 22:40:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyZdf-0007Aa-Be for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 22:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyZde-0006yN-S4 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 16:40:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyZdJ-0006xl-S2 for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 16:40:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyZdI-0006xM-Se for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 16:40:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyZdI-0006xA-MB for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 16:40:00 -0400 Original-Received: from sitemail2.everyone.net ([216.200.145.36] helo=omta16.mta.everyone.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyZdH-0004NB-8c for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 16:39:59 -0400 Original-Received: from pop16.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta16.mta.everyone.net (Postfix) with ESMTP id 1072040A6B for ; Wed, 13 Jun 2007 13:39:58 -0700 (PDT) X-Eon-Dm: pop16 Original-Received: by pop16.mta.everyone.net (EON-AUTHRELAY2 - 48f102f2) id pop16.466f58a7.2c782 for ; Wed, 13 Jun 2007 13:39:57 -0700 X-Eon-Sig: AQLTeK1GcFYdrNBZbgIAAAAB,8bdf1bdf0c6cf3551ad8534643463a9b Original-Received: by potis.org (nbSMTP-1.00) for uid 1000 poti@potis.org; Wed, 13 Jun 2007 16:39:52 -0400 (EDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45023 Archived-At: On 12:50 Wed 13 Jun , Michael Albinus wrote: > poti@potis.org writes: > > Adding > > (add-to-list 'tramp-default-proxies-alist > > '("host\\.org#3322" nil "/plink:me@my.host.org#3322:")) > > > > (with or without the port numbers) to _emacs causes > > /plink:me@host.org#3322:/home/me/realfile.txt > > to get as far as > > Tramp: Opening connection for me@host.org#3322 using plink > > before hanging emacs in a similar way (waited more than 6 minutes to > > be sure). > > That is Tramp 2.1. > > Which Tramp version are you using? I thought 2.1.9? Yes, it is 2.1.9. > > > I have the following in _emacs, and the startup sequence echoes the load > > command, so it is being read: > > > > (add-to-list 'load-path "C:/tramp/lisp") > > (load "C:/tramp/lisp/tramp.el") > > (setq tramp-default-method "plink") > > > > (nconc (cadr (assq 'tramp-login-args (assoc "plink" tramp-methods))) > > '(("bash" "-i"))) > > (setcdr (assq 'tramp-remote-sh (assoc "plink" tramp-methods)) > > '("bash -i")) > > I don't know whether it is a good idea to set bash. Why do you need it? My login shell is bash. Without this, I do not get past the opening connection prompt. > > > (setq tramp-debug-buffer t) > > (setq tramp-verbose 10) > > That's good. In the debug buffer, you might see what Tramp is > doing. Al the chatting with the remote host. Did you check it? > Otherwise, you could send the debug buffer for more investigations. I am working on this. Given that Emacs is locking up, I need to find something for tramp to do so I can have the buffer up in anticipation of the freeze. See more bellow though. > > > Symbol's value as variable is void: tramp-gw-tunnel-method > > this is true on OSX emacs 22.0.52.1 as well as Gentoo x86 Emacs 21.4.1. > > Yes, gateway methods work (as of today) only with Emacs 22.1. I didn't > hide the respective variables properly, fixed in CVS meanwhile. But > this is hopefully a warning only? On OSX, Make failed, but ./configure only had warnings. After running configure, the warning and problem went away. Now I can get through, including directory listings, provided I used authorized_keys. I have different passwords on the two hops and cannot get to the second hop using passwords. Looking through the long debug output, I see that after the successful first hop there appears to be a process that is repeated ten times. Here is the line I was watching for to count 10: 16:10:00 tramp-accept-process-output (10) # *tramp/ssh me@second.hop.org* run This was followed variously by blanks or the prompt from the first hop on the next line, but the last two were apparently the standard Permission denied (publickey,keyboard-interactive).^M I can send details here or off list if this is useful. Thank you for your patient help. Seeing a successful multi-hop connection helps me a lot on working out the problems in Windows, which remain and which I will return to after a break. -Poti