Re:Outrun: Execute local command using processing power of a...
by TeMPOraL on Thursday March 18, 2021 @04:21PM
(#26507141)
Also could use some more polish around handling SSH connections; I often manage to lock up TRAMP when I step away from the computer for 5 minutes. It's something that can probably be fixed with the right ssh_config/sshd_config, but I can't for the life of me figure out the right incantations.
For now, I just habitually do M-x tramp-cleanup-all-connections whenever I stop actively working with remote files, and let Emacs reconnect automatically when I save a remote file or refresh a remote folder listing.
(Incidentally, half of my use of TRAMP went away once I managed to configure a 256-color terminal on my sidearm; with that, Emacs in terminal mode looks almost indistinguishable from a GUI session.)
Re:Outrun: Execute local command using processing power of a...
by martinflack on Friday March 19, 2021 @12:47AM
(#26510231)
> It's something that can probably be fixed with the right ssh_config/sshd_config, but I can't for the life of me figure out the right incantations.
Have you tried something like this? It does a common TCP/IP socket for each remote host and does application-level pings every 4 minutes to keep the socket active. Solved most of my "stay connected" issues.
Host *
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10s
ServerAliveInterval 240
Re:Outrun: Execute local command using processing power of a...
by taeric on Thursday March 18, 2021 @06:04PM
(#26508036)
For me, I'm just fighting rural networking. Ever since I setup control master for my ssh, I have not had too much issue with the ssh.
I still like running emacs locally.
Re:Outrun: Execute local command using processing power of a...
by bigiain on Thursday March 18, 2021 @08:01PM
(#26508900)
"I've finally got my emacs setup just how I like it. But my gigabit internet connection isn't fast enough for a text editor these days..."
Re:Outrun: Execute local command using processing power of a...
by taeric on Thursday March 18, 2021 @08:15PM
(#26508980)
If only I had gigabit... 4g lte that constantly drops is not fun.
Re:Outrun: Execute local command using processing power of a...
by alpaca128 on Friday March 19, 2021 @04:58AM
(#26511281)
Meanwhile I have a 4G modem at home because it came with higher stability and more than double the bandwidth compared to a similarly priced cable connection. Sometimes the more traditional telecoms are working really hard at pulling an Intel.
Granted, this all falls flat when your network connection is garbage. :(