【解决】ssh: connect to host slave port 22: Connection timed out的问题

    xiaoxiao2021-03-25  190

    【解决】ssh: connect to host slave port 22: Connection timed out的问题

    增加SSH终端连接数最大为1000个

    解决方案:

    vim /etc/ssh/sshd_config

    输入/MaxStartups 定位到如下并修改

    1)        #MaxStartups 10,#去掉,修改10为1000,MaxStartups 1000

    MaxSessions 1000

    2)        重启SSH服务

    /etc/rc.d/init.d/sshd restart

    或者 

    service sshd restart

    转载请注明原文地址: https://ju.6miu.com/read-22573.html

    最新回复(0)