I have the following in my config files:

--8<---------------cut here---------------start------------->8---
(add-to-list 'tramp-default-proxies-alist
'(nil "\\`root\\'" "/ssh:%h:") ;; https://github.com/emacs-helm/helm/issues/981
))
--8<---------------cut here---------------end--------------->8---

This causes tramp (which I'm using through Helm) to let me sudo into any of the many remote servers I work with (assuming they have ssh keys configured). However, now I can't do find-file /sudo::<local_path> as it tries to ssh to localhost. Is there any way I can keep the over-weighing benefit of sudo remote hosts while also being able to sudo locally?

- Tory

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to