系统 linux,增加SSH终端连接数最大为1000个

解决方案:

vi /etc/ssh/sshd_config

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

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

2)        重启SSH服务,/etc/rc.d/init.d/sshd restart

 

查看某端口连接数

 netstat -nat|grep -i '22' |wc -l

相关文章:

  • 2022-02-24
  • 2021-09-04
  • 2022-01-07
  • 2022-03-01
  • 2022-12-23
  • 2021-11-23
  • 2021-11-23
  • 2021-12-25
猜你喜欢
  • 2021-06-26
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-01-18
相关资源
相似解决方案