diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/tramp-sh.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 5771269417e..c2ab67b6f4f 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -312,6 +312,7 @@ The string is used in `tramp-methods'.") | |||
| 312 | (tramp-login-program "doas") | 312 | (tramp-login-program "doas") |
| 313 | (tramp-login-args (("-u" "%u") ("-s"))) | 313 | (tramp-login-args (("-u" "%u") ("-s"))) |
| 314 | (tramp-remote-shell "/bin/sh") | 314 | (tramp-remote-shell "/bin/sh") |
| 315 | (tramp-remote-shell-args ("-c")) | ||
| 315 | (tramp-connection-timeout 10))) | 316 | (tramp-connection-timeout 10))) |
| 316 | ;;;###tramp-autoload | 317 | ;;;###tramp-autoload |
| 317 | (add-to-list 'tramp-methods | 318 | (add-to-list 'tramp-methods |
| @@ -415,7 +416,7 @@ The string is used in `tramp-methods'.") | |||
| 415 | 416 | ||
| 416 | ;;;###tramp-autoload | 417 | ;;;###tramp-autoload |
| 417 | (add-to-list 'tramp-default-user-alist | 418 | (add-to-list 'tramp-default-user-alist |
| 418 | `(,(concat "\\`" (regexp-opt '("su" "sudo" "ksu" "doas")) "\\'") | 419 | `(,(concat "\\`" (regexp-opt '("su" "sudo" "doas" "ksu")) "\\'") |
| 419 | nil "root")) | 420 | nil "root")) |
| 420 | ;; Do not add "ssh" based methods, otherwise ~/.ssh/config would be ignored. | 421 | ;; Do not add "ssh" based methods, otherwise ~/.ssh/config would be ignored. |
| 421 | ;; Do not add "plink" based methods, they ask interactively for the user. | 422 | ;; Do not add "plink" based methods, they ask interactively for the user. |