Mercurial > emacs
diff lisp/net/tramp.el @ 109500:3a9a140f18bb
* net/tramp.el (tramp-methods): Move hostname to the end in all
plink `tramp-login-args'.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Fri, 23 Jul 2010 15:58:52 +0200 |
parents | 1db541d863cf |
children | 35f14a2258f3 |
line wrap: on
line diff
--- a/lisp/net/tramp.el Fri Jul 23 15:40:33 2010 +0200 +++ b/lisp/net/tramp.el Fri Jul 23 15:58:52 2010 +0200 @@ -599,8 +599,8 @@ (tramp-copy-keep-date nil) (tramp-password-end-of-line nil)) ("plink" (tramp-login-program "plink") - (tramp-login-args (("%h") ("-l" "%u") ("-P" "%p") - ("-ssh"))) + (tramp-login-args (("-l" "%u") ("-P" "%p") + ("-ssh") ("%h"))) (tramp-remote-sh "/bin/sh") (tramp-copy-program nil) (tramp-copy-args nil) @@ -609,8 +609,8 @@ (tramp-default-port 22)) ("plink1" (tramp-login-program "plink") - (tramp-login-args (("%h") ("-l" "%u") ("-P" "%p") - ("-1" "-ssh"))) + (tramp-login-args (("-l" "%u") ("-P" "%p") + ("-1" "-ssh") ("%h"))) (tramp-remote-sh "/bin/sh") (tramp-copy-program nil) (tramp-copy-args nil) @@ -633,8 +633,8 @@ (tramp-copy-keep-date nil) (tramp-password-end-of-line nil)) ("pscp" (tramp-login-program "plink") - (tramp-login-args (("%h") ("-l" "%u") ("-P" "%p") - ("-ssh"))) + (tramp-login-args (("-l" "%u") ("-P" "%p") + ("-ssh") ("%h"))) (tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp") (tramp-copy-args (("-P" "%p") ("-scp") ("-p" "%k"))) @@ -642,8 +642,8 @@ (tramp-password-end-of-line "xy") ;see docstring for "xy" (tramp-default-port 22)) ("psftp" (tramp-login-program "plink") - (tramp-login-args (("%h") ("-l" "%u") ("-P" "%p") - ("-ssh"))) + (tramp-login-args (("-l" "%u") ("-P" "%p") + ("-ssh") ("%h"))) (tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp") (tramp-copy-args (("-P" "%p") ("-sftp") ("-p" "%k")))