3 ms·
I also recommend helm-tramp for added tramp greatness for example if you regularly access many different hosts/VMs. Question: I often find tramp to be signific
by julienchastang 8y ago
I also recommend helm-tramp for added tramp greatness for example if you regularly access many different hosts/VMs.
Question: I often find tramp to be significantly laggy and much slower when compared to simply sshing into the remote host. It is almost as if tramp is opening up a new ssh connection for every command. What do people here do about tramp lagginess? I've researched this problem but I have not found a good solution.
- anonacct37 8y agoThe enable ssh mastercontrol and persistent connections.
- julienchastang 8y ago@anonacct37 I've always had ControlMaster auto ControlPath ~/.ssh/cm_socket/%r@%h:%p ServerAliveInterval 60 Is there something beyond that I should be doing? Does tramp need to be configured in some special way to take advantage of the persistent connection?
- loskutak 8y agoyou can use ssh controlmaster (adding variation of the following into your .ssh/config): Host * ControlMaster auto ControlPath /tmp/ssh-%r@%h:%p This helped me quite a lot with tramp