Mosh

From wikinotes
Revision as of 00:54, 11 November 2020 by Will (talk | contribs) (→‎Install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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  # 
pkg install openssh mosh         # FreeBSD

# you'll also need to configure your openssh to receive connections

Usage

mosh --ssh="ssh -p <port>" user@host