项目地址:https://code.google.com/p/shellinabox/
项目安装方法:http://blog.csdn.net/xkfz008/article/details/24324177
指定端口的方法:
I had the same problem. In my case the cause was the fact that I use a non-standard ssh port (other than 22). Adding the following to the command line or to SHELLINABOX_ARGS in /etc/default/shellinabox solved the problem: --service=/s:user:grp:HOME:'ssh user-ssh@localhost -p 12345' Best, Luca出处: 指定端口的方法