blob: 469b58fcad80341b170656731b0ba19785bb7bad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
;;; 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
|