5 ms·
Use mosh for the remote sessions: https://mosh.org https://mosh.org
by jbmorgado 10y ago
Use mosh for the remote sessions: https://mosh.org https://mosh.org
- falcolas 10y agoThis helps only with laggy connections with the occasional lost packet. Not with hard network drops (not to mention, there is more than just the terminal impacted by hard network drops).
- jbmorgado 10y agoNo, mosh doesn't work like that. You can turn off the network connection in one of the nodes (both the server and the client) for hours and when they come back you still have your session like it was before the connection dropped. I do this everyday on the client side (taking my laptop to work, opening the lid and having my session going on), and sometime on the server side as well.
- falcolas 10y agoOnly if keepalive is disabled; in which case regular SSH will work the same way.
- vetinari 10y agoThe WiFi cuts drop the RDP sessions I have and I cannot reconnect until I toggle the WiFi off and on. Using the thunderbolt Ethernet helps.