diff --git a/slides/common/prereqs.md b/slides/common/prereqs.md index c4225431..85729d7f 100644 --- a/slides/common/prereqs.md +++ b/slides/common/prereqs.md @@ -125,7 +125,50 @@ class: in-person works pretty well - Nice-to-have: [Mosh](https://mosh.org/) instead of SSH, if your internet connection tends to lose packets -
(available with `(apt|yum|brew) install mosh`; then connect with `mosh user@host`) + +--- + +class: in-person, extra-details + +## What is this Mosh thing? + +*You don't have to use Mosh or even know about it to follow along. +
+We're just telling you about it because some of us think it's cool!* + +- Mosh is "the mobile shell" + +- It is essentially SSH over UDP, with roaming features + +- It retransmits packets quickly, so it works great even on lossy connections + + (Like hotel or conference WiFi) + +- It has intelligent local echo, so it works great even in high-latency connections + + (Like hotel or conference WiFi) + +- It supports transparent roaming when your client IP address changes + + (Like when you hop from hotel to conference WiFi) + +--- + +class: in-person, extra-details + +## Using Mosh + +- To install it: `(apt|yum|brew) install mosh` + +- It has been pre-installed on the VMs that we are using + +- To connect to a remote machine: `mosh user@host` + + (It is going to establish an SSH connection, then hand off to UDP) + +- It requires UDP ports to be open + + (By default, it uses a UDP port between 60000 and 61000) --- @@ -135,7 +178,7 @@ class: in-person .exercise[ -- Log into the first VM (`node1`) with SSH or MOSH +- Log into the first VM (`node1`) with your SSH client