;;; my-tramp.el --- Configure tramp -*- lexical-binding: t -*- ;;; Commentary: ;;; Code: (require 'tramp) (require 'tramp-sh) (setq tramp-default-method "ssh") (setq tramp-histfile-override t) (setq tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory)) (setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'") (provide 'my-tramp) ;;; my-tramp.el ends here