You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
337 B
EmacsLisp

(use-package tramp
:custom
(tramp-password-cache nil)
(tramp-persistency-file-name (file-name-concat (xdg-state-home) "emacs/tramp/persistency-file"))
:config
(add-to-list 'tramp-connection-properties
(list (regexp-quote (format "/sudo:root@%s:" system-name))
"session-timeout" (* 60 60))))