From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lmunro Newsgroups: gmane.emacs.help Subject: Re: connecting with tramp and plink to a non standard port fails Date: Wed, 9 Jan 2008 12:32:42 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <1a2057ba-3541-448e-843f-64385bea3045@v29g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199911240 26904 80.91.229.12 (9 Jan 2008 20:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 20:40:40 +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 Jan 09 21:41:00 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 1JChjN-0000Lw-8o for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2008 21:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JChiz-0001vY-Q9 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2008 15:40:33 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f10g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 69.70.77.186 Original-X-Trace: posting.google.com 1199910762 11079 127.0.0.1 (9 Jan 2008 20:32:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 9 Jan 2008 20:32:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f10g2000hsf.googlegroups.com; posting-host=69.70.77.186; posting-account=05UVXwoAAABlZdVcggpEspYgSYin0Ijm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155189 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:50608 Archived-At: On Jan 8, 12:08 am, Michael Albinus wrote: > 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. That seems to have done it. I was using the version of tramp that comes precompiled with emacs 22.1 for windows. Recompiling tramp 2.1 has allowed me to use the # kludge. Thank you for your help, LM