* soft nofile 65535 * hard nofile 65535 * soft nproc 65535 * hard nproc 655352、vi /etc/security/limits.d/90-nproc.conf 或者 vim /etc/security/limits.d/20-nproc.conf
* soft nproc 4096 root soft nproc unlimited iibs soft nproc unlimited3、vi /etc/ssh/sshd_config
修改为:uselogin=yes
4、ssh启停
#开始 systemctl start sshd.service #停止 systemctl stop sshd.service #重启 systemctl restart sshd.service #状态查看 systemctl status sshd.service



