Mosh: Difference between revisions

From wikinotes
 
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
|-
|-
| <code>~/.ssh/config</code> || client config
| <code>~/.ssh/config</code> || client config
|-
| UDP <code>60000-61000</code> || default port-range (client-out, server-in)
|-
|-
|}
|}
Line 40: Line 42:
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
= Configuration =
<blockquote>
== Client ==
<blockquote>
mosh respects your <code>~/.ssh/config</code>.
</blockquote><!-- Client -->
== Server ==
<blockquote>
</blockquote><!-- Server -->
</blockquote><!-- Configuratin -->
= Usage =
<blockquote>
<syntaxhighlight lang="bash">
mosh host
mosh --ssh="ssh -p <port>" user@host
Control-Shift-6 . # end connection
</syntaxhighlight>
</blockquote><!-- Usage -->

Latest revision as of 04:00, 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
UDP 60000-61000 default port-range (client-out, server-in)

Notes

mosh install
mosh configuration
mosh usage