diff options
-rw-r--r-- | init.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -104,7 +104,9 @@ ;; for root connections to remote hosts, log in via ssh with normal ;; user account first, then su/sudo to root (add-to-list 'tramp-default-proxies-alist - '(".*" "\\`root\\'" "/ssh:%h:")) + '(nil "\\`root\\'" "/ssh:%h:")) +(add-to-list 'tramp-default-proxies-alist + '((regexp-quote (system-name)) nil nil)) ;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files (add-to-list 'backup-directory-alist |