summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.org
diff options
context:
space:
mode:
authorAlan Pearce2016-09-10 12:47:31 +0200
committerAlan Pearce2016-09-10 12:48:07 +0200
commit67cab027564f0e932d93e73d4997e3a09f208482 (patch)
tree0a8b4adb4534a1c782604a6894cb3395447f38fb /tag-emacs/emacs.d/init.org
parent207f441b23c51eb33f4c26fde7208e1a6e6fed72 (diff)
downloadnixfiles-67cab027564f0e932d93e73d4997e3a09f208482.tar.lz
nixfiles-67cab027564f0e932d93e73d4997e3a09f208482.tar.zst
nixfiles-67cab027564f0e932d93e73d4997e3a09f208482.zip
Emacs: Use ssh for tramp connections
Diffstat (limited to 'tag-emacs/emacs.d/init.org')
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 824fa085..40509d15 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -654,7 +654,7 @@ that I can sudo on remote machines
     :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)