Emacs: Use ssh for tramp connections
Alan Pearce alan@alanpearce.co.uk
Sat, 10 Sep 2016 12:47:31 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-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)