Fork of shellinabox from https://code.google.com/p/shellinabox/