Hi there,

I haven't been able to use tramp under windows because of a mystifying
issue trying to get past my firewall at work.  I want to use an
intermediate plink hop, then a real ssh hop.  The issue is in at least
tramp 2.1.3 and 2.1.4 (I haven't tried the CVS, but I couldn't find
any reference to this issue in the mailing list archives).

It turns out that, with an appropriately set up
tramp-default-proxies-alist, when I try to open up
/ssh:[EMAIL PROTECTED]:/, it correctly asks me for my
password on /plink:[EMAIL PROTECTED]: - except I
always get a login failure because the tramp-password-end-of-line is
set from the original method, ssh, instead of the current hop method,
plink.

The attached patch is straightforward and fixes the issue for me.

-Andy

--- tramp.el.old        2005-10-16 02:47:24.652222400 -0500
+++ tramp.el    2005-10-16 02:47:44.971440000 -0500
@@ -5334,9 +5334,9 @@
   (process-send-string
    p (concat (tramp-read-passwd)
             (or (tramp-get-method-parameter
-                 tramp-current-method
-                 tramp-current-user
-                 tramp-current-host
+                 tramp-current-hop-method
+                 tramp-current-hop-user
+                 tramp-current-hop-host
                  'tramp-password-end-of-line)
                 tramp-default-password-end-of-line))))
 
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to