这个问题的根本原因就是缺少shell环境。
ssh远程登陆linux显示-bash-4.1$解决方法
原文:http://www.cnblogs.com/guoyongqiang/p/6755321.html