Connect to custom SSH port when using Mosh

Mosh is a replacement for SSH that uses UDP streams. However, it still connects over SSH to establish the connection.

Here is how to connect to a custom SSH port when using mosh by setting the flags used to establish the connection.

mosh --ssh="ssh -p 2222"

You can simply start mosh from the command line without an IP to see which other flags are available.

More information about Mosh

Leave a Reply

Your email address will not be published. Required fields are marked *

Markdown is allowed in comments.