Hacker News new | past | comments | ask | show | jobs | submit login

> TRAMP is pretty great, I wish it would not make a new connection for every network interaction though

Same. One of my wishes for Emacs in "From caching up to getting ahead" is for Tramp improvements.

These days I went back to TUI Emacs via SSH for work.




TRAMP doesn't open any network connections at all. Instead it relies on ssh (or ftp if you're really old-school).

Open up your ~/.ssh/config file and set "ControlMaster yes", "ControlPersist yes" and "ControlPath ~/.ssh/cp-%C" and ssh will multiplex all of your ssh sessions across as few unique tcp connections as possible. This will speed up scp and sftp connections as well.


I do that. Performance is still pretty bad compared to VSCode remote or TUI Emacs via SSH.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: