Comment

Comment by polote

As someone who codes on a remote server the whole day, mosh is absolutely necessary and it is fantastic

Advantages:

- you dont see any lag when you type, it is exactly as if you were on your local machine

- when network disconnect, the terminal freeze and when network is up again, the terminal becomes interactive again preserving everything in between

- connection is preserved as long as the terminal is open, so even after hibernation your session is preserved

Drawbacks:

- you can't scroll , but if you use tmux then it is possible . I've tried using Eternal terminal, as it allows to scroll but it doesn't perform well at all on laggy connections

- You can't detach and re attach mosh connections (same for ET)

- I'm not sure it is possible to preserve middle-click copy/paste (at least I've not managed to make it work)

- time to connect is a bit longer than normal ssh

parent polote 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton