From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lmunro Newsgroups: gmane.emacs.help Subject: connecting with tramp and plink to a non standard port fails Date: Mon, 7 Jan 2008 09:34:03 -0800 (PST) Organization: http://groups.google.com Message-ID: <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 1199763099 7246 80.91.229.12 (8 Jan 2008 03:31:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 03:31:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 08 04:32: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 1JC5Bz-0002yK-Hz for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 04:31:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC5Bc-0002KR-Cs for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2008 22:31:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v29g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 69.70.77.186 Original-X-Trace: posting.google.com 1199727243 12146 127.0.0.1 (7 Jan 2008 17:34:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 7 Jan 2008 17:34:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v29g2000hsf.googlegroups.com; posting-host=69.70.77.186; posting-account=05UVXwoAAABlZdVcggpEspYgSYin0Ijm User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.23 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155135 X-Mailman-Approved-At: Mon, 07 Jan 2008 22:31:19 -0500 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:50574 Archived-At: Hello, 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. But in emacs if I try this: (C-x C-f) /user@host.example.com#55:~user/file The connection fails and emacs complain this way in the minibuffer: plink: unknown option "-p" Process *tramp/plink user@host.example.com#55* exited abnormally with code 1 I have stuck this line in my .emacs: (setq tramp-default-method "plink") Anyone has any idea why? I've never had any problem connecting to this server with tramp on my mac (using ssh and port specified in ~.ssh/config), so I know it's possible... Much obliged for any help. LM