sshd-to-cloud: Update to handle mosh connections.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>