From: Michael Albinus Date: Fri, 23 Jul 2010 13:58:52 +0000 (+0200) Subject: * net/tramp.el (tramp-methods): Move hostname to the end in all X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~49^2~136^2~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=225d5e9e16070f908c22e1b40bf9db29fdf17c20;p=emacs.git * net/tramp.el (tramp-methods): Move hostname to the end in all plink `tramp-login-args'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a4a0fa5c873..02e75a40b21 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-07-23 Michael Albinus + + * net/tramp.el (tramp-methods): Move hostname to the end in all + plink `tramp-login-args'. + 2010-07-23 Michael Albinus * net/tramp.el (tramp-open-shell): New defun. diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 0afc4c95799..2a4f57e2045 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -599,8 +599,8 @@ detected as prompt when being sent on echoing hosts, therefore.") (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 @@ detected as prompt when being sent on echoing hosts, therefore.") (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 @@ detected as prompt when being sent on echoing hosts, therefore.") (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 @@ detected as prompt when being sent on echoing hosts, therefore.") (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")))