shell request failed on channel 0

今天普通用户ssh 登录提示shell request failed on channel 0 然后就退出了

幸亏root 用户没有被禁用,在root下 su - 普通 切换提示资源不足

解决方法   xxxx 普通用户 

  vim   /etc/security/limits.conf


*    soft nofile  65536
*    hard nofile  65536
xxx hard nproc unlimited
xxx soft nproc unlimited

  

原文地址:https://www.cnblogs.com/zhaojingyu/p/11044002.html