Mosh: Difference between revisions
From wikinotes
(→Usage) |
No edit summary |
||
Line 18: | Line 18: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Locations = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| <code>~/.ssh/config</code> || client config | |||
|- | |||
|} | |||
</blockquote><!-- Locations --> | |||
= Install = | = Install = | ||
Line 31: | Line 40: | ||
</source> | </source> | ||
</blockquote><!-- Install --> | </blockquote><!-- Install --> | ||
= Configuration = | |||
<blockquote> | |||
== Client == | |||
<blockquote> | |||
mosh respects your <code>~/.ssh/config</code>. | |||
</blockquote><!-- Client --> | |||
== Server == | |||
<blockquote> | |||
</blockquote><!-- Server --> | |||
</blockquote><!-- Configuratin --> | |||
= Usage = | = Usage = |
Revision as of 02:38, 29 December 2021
Mosh is an alternative ssh client that specializes operating in environment with
- high latency
- changing ip addresses (ex: cellphone networks)
Documentation
man mosh
https://man.archlinux.org/man/community/mosh/mosh.1.en man mosh-client
https://man.archlinux.org/man/community/mosh/mosh-client.1.en man mosh-server
https://man.archlinux.org/man/community/mosh/mosh-server.1.en home https://mosh.org/
Locations
~/.ssh/config
client config
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
Configuration
Client
mosh respects your
~/.ssh/config
.Server
Usage
mosh host mosh --ssh="ssh -p <port>" user@host Control-Shift-6 . # end connection