mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-26 11:24:25 -04:00
tramp: configure root-over-ssh proxy
This commit is contained in:
parent
8e4b9e1d77
commit
d8006b663e
8
init.el
8
init.el
@ -119,6 +119,14 @@
|
||||
(use-package simple
|
||||
:config (column-number-mode))
|
||||
|
||||
(use-package tramp
|
||||
:defer t
|
||||
:config
|
||||
(add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
|
||||
(add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
|
||||
(add-to-list 'tramp-default-proxies-alist
|
||||
(list (regexp-quote (system-name)) nil nil)))
|
||||
|
||||
(progn ; startup
|
||||
(message "Loading %s...done (%.3fs)" user-init-file
|
||||
(float-time (time-subtract (current-time)
|
||||
|
Loading…
x
Reference in New Issue
Block a user