all repos — archive/dotfiles @ 67cab027564f0e932d93e73d4997e3a09f208482

Superseded by nixfiles

Emacs: Use ssh for tramp connections
Alan Pearce alan@alanpearce.co.uk
Sat, 10 Sep 2016 12:47:31 +0200
commit

67cab027564f0e932d93e73d4997e3a09f208482

parent

207f441b23c51eb33f4c26fde7208e1a6e6fed72

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -654,7 +654,7 @@ :defer 7     :config (progn
               (unless (getenv "SSH_AUTH_SOCK")
                 (setenv "SSH_AUTH_SOCK" "/run/user/1000/ssh-agent.socket"))
-              (setq tramp-default-method (if (eq system-type 'windows-nt) "plinkx" "ssh")
+              (setq tramp-default-method "ssh"
                     tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root"))
                     tramp-backup-directory-alist backup-directory-alist
                     backup-enable-predicate (lambda (name)