Mosh configuration: Difference between revisions
From wikinotes
(→Client) |
No edit summary |
||
Line 2: | Line 2: | ||
<blockquote> | <blockquote> | ||
mosh respects your <code>~/.ssh/config</code>. | mosh respects your <code>~/.ssh/config</code>. | ||
</blockquote><!-- Client --> | </blockquote><!-- Client --> | ||
= Server = | = Server = | ||
<blockquote> | <blockquote> | ||
</blockquote><!-- Server --> | </blockquote><!-- Server --> | ||
Latest revision as of 05:25, 29 December 2021
Client
mosh respects your
~/.ssh/config
.
Server
Firewall
By default, the mosh client client communicates out over UDP
60000-61000
.
your client must be able to communicate outwards, and your server inwards.server example:
# /etc/pf.conf pass in on $ext_if proto udp to $ext_ip port 60000:61000 # /etc/nftables.conf udp dport 60000:61000 ip4 daddr $ext_ip accept