今天普通用戶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