From b20a16ae9001bf1f89ffb6767095dedef04f56b3 Mon Sep 17 00:00:00 2001 From: Erik Hetzner Date: Wed, 16 Jun 2021 07:23:08 -0700 Subject: [PATCH] Use remote shell from the start in Tramp ssh method (bug#46466) * lisp/net/tramp-sh.el (tramp--with-startup): Add %l to tramp-login-args for ssh tramp-method. --- lisp/net/tramp-sh.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index b613ad3f8e..921af6e7c3 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -224,7 +224,7 @@ tramp-scp-strict-file-name-checking `("ssh" (tramp-login-program "ssh") (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") - ("-e" "none") ("%h"))) + ("-e" "none") ("%h") ("%l"))) (tramp-async-args (("-q"))) (tramp-direct-async t) (tramp-remote-shell ,tramp-default-remote-shell) -- 2.30.2