tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to troubleshoot tramp on windows


From: Michael Albinus
Subject: Re: how to troubleshoot tramp on windows
Date: Wed, 14 May 2008 09:42:13 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Alec Clews <address@hidden> writes:

> I seem to have a different problem with plink if I use a non-standard port. 
> Plink expects the port number to be supplied  using the -P option. However 
> Tramp uses -p. Is there some way to re-configure this behaviour please?

This is fixed in Tramp's CVS already (I assume you are using Tramp
2.1.x). The "pscp" entry in `tramp-methods' must look like this:

    ("pscp"  (tramp-login-program        "plink")
             (tramp-login-args           (("%h") ("-l" "%u") ("-P" "%p")
                                          ("-ssh")))
             (tramp-remote-sh            "/bin/sh")
             (tramp-copy-program         "pscp")
             (tramp-copy-args            (("-P") ("%p") ("-scp") ("-p" "%k")))
             (tramp-copy-keep-date       t)
             (tramp-password-end-of-line "xy") ;see docstring for "xy"
             (tramp-default-port         22))

Will be available with Tramp 2.1.14.

> Thanks
>
> Alec Clews  

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]