summaryrefslogtreecommitdiff
path: root/packages/tramp.el
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tramp.el')
-rw-r--r--packages/tramp.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/tramp.el b/packages/tramp.el
new file mode 100644
index 0000000..d5536af
--- /dev/null
+++ b/packages/tramp.el
@@ -0,0 +1,8 @@
+(use-package tramp
+ :custom
+ (tramp-password-cache nil)
+ (tramp-persistency-file-name nil)
+ :config
+ (add-to-list 'tramp-connection-properties
+ (list (regexp-quote (format "/sudo:root@%s:" system-name))
+ "session-timeout" (* 60 20))))