From 2acc9c50a0c1e3cca877ce976b1483713f084868 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 25 Sep 2025 19:09:48 -0400 Subject: [PATCH] nit(tramp): fix comment about ssh>scp (part 2) Amend: 07d5cc8124db --- modules/emacs/tramp/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/emacs/tramp/config.el b/modules/emacs/tramp/config.el index 34cab7048..aa1f7981a 100644 --- a/modules/emacs/tramp/config.el +++ b/modules/emacs/tramp/config.el @@ -17,8 +17,10 @@ tramp-backup-directory-alist backup-directory-alist tramp-auto-save-directory (concat doom-cache-dir "tramp-autosave/")) - ;; The ssh method is faster than scp (the default) on Windows (unless (featurep :system 'windows) + ;; On windows pscp/scp > ssh, everywhere else ssh is better. sshx is even + ;; better but only with known, pubkey-authed hosts. + ;; REVIEW: Test this >5 year old assumption again. (setq tramp-default-method "ssh")))