ChinaShell is based on CIShell(http://cishell.org).