Skip to content

Instantly share code, notes, and snippets.

@aont
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save aont/d25051128d8772ff8847 to your computer and use it in GitHub Desktop.

Select an option

Save aont/d25051128d8772ff8847 to your computer and use it in GitHub Desktop.
Emacs tramp settings
(require 'tramp)
(setq tramp-default-method "scp")
(setq tramp-ssh-controlmaster-options
(concat "-o ControlPath=" (getenv "HOME") "/.ssh/master-%%r@%%h:%%p")
)
(setq tramp-debug-buffer t)
(setq tramp-verbose 10)
(defun tramp-set-auto-save ()
(auto-save-mode -1))
;; (setq tramp-persistency-file-name nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment