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

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM