Mosh: Difference between revisions
From wikinotes
Line 10: | Line 10: | ||
<source lang="bash"> | <source lang="bash"> | ||
pacman -S openssh-portable mosh # | pacman -S openssh-portable mosh # arch | ||
pkg install openssh mosh # FreeBSD | pkg install openssh mosh # FreeBSD | ||
Revision as of 02:23, 29 December 2021
Mosh is an alternative ssh client that specializes operating in environment with
- high latency
- changing ip addresses (ex: cellphone networks)
Install
You'll need to install mosh on both the client/server.
Mosh works by first connecting over ssh, then starting and communicating via the mosh-daemon.pacman -S openssh-portable mosh # arch pkg install openssh mosh # FreeBSD # you'll also need to configure your openssh to receive connections
Usage
mosh --ssh="ssh -p <port>" user@host