Skip to content

Access a machine using mosh instead of ssh

  1. Install mosh on the host

    sudo apt update
    sudo apt install mosh
    
  2. Install mosh on the remote server

    sudo apt update
    sudo apt install mosh
    
  3. Configure ufw firewall to allow mosh traffic

    sudo ufw allow 60000:61000/udp
    
  4. Connect to the remote server

    mosh user@remote-server
    mosh user@192.168.1.100