Hacker News new | ask | show | jobs
by jbmorgado 3564 days ago
Use mosh for the remote sessions: https://mosh.org
2 comments

This 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).
No, 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.

Only if keepalive is disabled; in which case regular SSH will work the same way.
The 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.