Mosh for low-bandwidth ssh

  1. Client side install if you are using Chrome
  2. Server side insatll if you are using Ubuntu: sudo apt-get install mosh
  3. Don’t forget adding ssh key info
  4. Kill past sessions except the existing one: kill $(ps --no-headers --sort=start_time -C mosh-server -o pid | head -n -1)