From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: connecting with tramp and plink to a non standard port fails Date: Tue, 08 Jan 2008 06:08:20 +0100 Message-ID: <87prwcnbuj.fsf@gmx.de> References: <1a2057ba-3541-448e-843f-64385bea3045@v29g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199768737 25281 80.91.229.12 (8 Jan 2008 05:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 05:05:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: lmunro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 08 06:05:57 2008 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 1JC6ee-0004wK-Ct for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 06:05:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC6eH-00070m-CV for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 00:05:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC6e2-00070Z-Ep for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 00:04:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC6e1-00070K-0Y for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 00:04:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC6e0-00070H-Ty for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 00:04:56 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JC6e0-0002m4-AX for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 00:04:56 -0500 Original-Received: (qmail invoked by alias); 08 Jan 2008 05:04:54 -0000 Original-Received: from p57A208F5.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.8.245] by mail.gmx.net (mp056) with SMTP; 08 Jan 2008 06:04:54 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+Kz592TfeKm4NDbOoF/udSswZdacqjbYma332NOu BFWprIYkjjnoL+ In-Reply-To: <1a2057ba-3541-448e-843f-64385bea3045@v29g2000hsf.googlegroups.com> (lmunro's message of "Mon, 7 Jan 2008 09:34:03 -0800 (PST)") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:50579 Archived-At: lmunro writes: > Hello, Hi, > I'm having trouble connecting to a linux server using tramp on windows > XP with plink. > I can connect fine to servers using the standard ssh port but can't > get plink to use a different port using tramp. > > On it's own plink seems to work fine. If I open a cmd.exe window and > type >> plink -l user host.example.com -P 55 > I can connect just fine using a password or a private key. Which Tramp version do you use? I guess it is Tramp 2.0.x. Tramp 2.0 has a design error, that for ports it always adds "-p xxx". This is fine for ssh etc, but wrong for plink (which needs "-P xxx"). This is solved in Tramp 2.1, where the parameter is set depending on the used method. > Much obliged for any help. > LM Best regards, Michael.