【解决】ssh: connect to host slave port 22: Connection timed out的问题
2017-03-10 16:16
921 查看
【解决】ssh: connect to host slave port 22: Connection timed out的问题
增加SSH终端连接数最大为1000个
解决方案:
输入/MaxStartups 定位到如下并修改
1) #MaxStartups 10,#去掉,修改10为1000,MaxStartups 1000
2) 重启SSH服务
或者
增加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
相关文章推荐
- 解决ssh: connect to host gitlab.com port 22: Connection timed out
- connect to host ssh.github.com port 22: Connection timed out解决方法
- 解决ssh: connect to host 107.21.95.3 port 22: Connection timed out
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- Git配置非22端口,解决:ssh: connect to host xxx port 22: Connection timed out fatal: The remote end hung up unexpectedly
- 大数据【关于ssh: connect to host master port 22: Connection timed out问题的总结】
- 关于ssh: connect to host master port 22: Connection timed out问题的总结
- 关于ssh: connect to host master port 22: Connection timed out问题的总结
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- Ubuntu 安装配置SSH(ssh: connect to host localhost port 22: Connection refused问题的解决)
- 在ubuntu中配置SSH(解决connect to host localhost port 22: Connection refused问题)
- 在Ubuntu中配置SSH(解决connect to host localhost port 22: Connection refused问题)
- ssh: connect to host github.com port 22: Connection timed out
- ubuntu 14.04下scp传输文件出现ssh: connect to host ***port 22: Connection timed out
- localhost: ssh: connect to host localhost port 22: Connection timed out
- 在ubuntu中配置SSH(解决connect to host localhost port 22: Connection refused问题)
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- Ubuntu 安装配置SSH(ssh: connect to host localhost port 22: Connection refused问题的解决)
- 使用云主机配置互信后ssh: connect to host hadoop port 22: Connection timed out