SSH Resilient Connections using Mosh
Mosh is SSH that you can be interrupted.
There is no “native” mosh executable for Windows and the Chrome browser extension is the easiest way to use mosh on Windows.
Well, it is really not true. You can use it in Cygwin/Babun or you can install beautifull and free MobaXterm
10 best SSH Clients for Windows: free alternatives to PuTTY - Page 2 of 2 Comparison of SSH clients - Wikipedia, the free encyclopedia
Setup
Setup Mosh on server first:
# install
apt-get -y install mosh
# check it is working with
mosh --version
Setup client on Windows:
It’s easy to install mosh client on Windows, using Babun. Just don’t forget to start it as administrator; that is crucial.
pact install mosh
And as I was using SSH config file, i can just type:
mosh savioko
And it just works!
Firewall ports
On Ubuntu, type:
sudo ufw allow 60000:61000/udp
On Linux or server and WSL: Najbolje objašnjenje https://www.digitalocean.com/community/tutorials/how-to-install-and-use-mosh-on-a-vps
apt -y install mosh
but latest version with PPA:
sudo add-apt-repository ppa:keithw/mosh-dev
On Windows, in msys2 and in cygwin scoop install mobaxterm
zaboravi!
wget https://www.cygwin.com/setup-x86_64.exe -O cygwin.exe https://www.cygwin.com/packages/summary/mosh.html
cygwin.exe -q -P mosh
Getting mosh (mobile-shell) working with cygwin
Ovo postoji, ali sa bajatom verzijom:
scoop install mosh-client
Is getting it from felixse/FluentTerminal that in turn is binaries from now non-existant repo https://github.com/jumptrading/mosh-windows-wrappers
Archive: https://web.archive.org/web/20200919193040/https://github.com/jumptrading/mosh-windows-wrappers and there is a copy: https://github.com/maxhora/mosh-windows-wrappers that is till alivewhat
A tu je i alternativa koju nikako ne razumem: Eternal Terminal ali koja se vrlo aktivno razvija.