index all rss twitter github linkedin email
Álvaro Ramírez

Álvaro Ramírez

01 September 2019 Speeding up Emacs tramp via ControlMaster

Via Florian Margaine's Eshell config, I discovered ssh's ControlMaster. It enables sharing multiple sessions over a single network connection. This has the benefit of speeding up Emacs TRAMP.

In your ~/.ssh/config add:

Host *
    ControlPath ~/.ssh/master-%h:%p
    ControlMaster auto
    ControlPersist 10m