unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: lmunro <louis.munro@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: connecting with tramp and plink to a non standard port fails
Date: Tue, 08 Jan 2008 06:08:20 +0100	[thread overview]
Message-ID: <87prwcnbuj.fsf@gmx.de> (raw)
In-Reply-To: <1a2057ba-3541-448e-843f-64385bea3045@v29g2000hsf.googlegroups.com> (lmunro's message of "Mon, 7 Jan 2008 09:34:03 -0800 (PST)")

lmunro <louis.munro@gmail.com> 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.

  reply	other threads:[~2008-01-08  5:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 17:34 connecting with tramp and plink to a non standard port fails lmunro
2008-01-08  5:08 ` Michael Albinus [this message]
     [not found] ` <mailman.5876.1199768699.18990.help-gnu-emacs@gnu.org>
2008-01-09 20:32   ` lmunro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prwcnbuj.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=louis.munro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).