Using a remote server for development is so much cooler for obvious reasons. Using MOSH on top of it naturally makes the experience much better.
Koding.com + MOSH = Ecstasy
Here is how you can get mosh to work on koding.com
SSH into the koding server from your client machine. If you haven’t added ssh keys yet checkout their tutorial.
Setup uncomplicated firewall in the remote machine.
sudo apt-get install ufw sudo ufw status verbose sudo ufw enable
Open up critical ports first viz. HTTP, SSH and 56789 for koding.
sudo ufw allow ssh sudo ufw allow http sudo ufw allow 56789/tcp
Open up the port (60001 is used by mosh in most cases) on the remote machine for the client machine to access it via udp.
sudo ufw allow 60001/udp
Connect the remote machine by running the mosh command from the client machine. This will automatically ssh into the remote server and start the mosh-server.
That’s it, you are done.