今天普通用户ssh 登陆提示shell request failed on channel 0 而后就退出了python
幸好root 用户没有被禁用,在root下 su - 普通 切换提示资源不足shell
解决方法 xxxx 普通用户 vim
vim /etc/security/limits.conf * soft nofile 65536 * hard nofile 65536 xxx hard nproc unlimited xxx soft nproc unlimited