mosh
mosh
mosh is faster than SSH, because UDP instead of TCP or something idk. mosh is faster and has this prediction thingy, that’s all i care about. hehe.
a few things to note:
- mosh still needs ssh, cause it uses ssh to connect, and then UDP takes over.
- for mosh to work, you have to either:
- open UDP ports 60000-61000 on your server
- or open a certain port (eg. 60001) and pass it with mosh
- mosh should be installed on both server and client. (like rsync)
command
mosh user@hostcustom UDP port for mosh
mosh -p $CUSTOM_UDP_PORT user@hostcustom SSH port + mosh UDP port
mosh --ssh="ssh -p $CUSTOM_SSH_PORT" -p $CUSTOM_UDP_PORT user@host