关于ubuntu的SSH连接数

为当前最终发行版之前的所有版本提供支持
回复
dreamflier
帖子: 10
注册时间: 2011-04-10 22:24
送出感谢: 0
接收感谢: 0

关于ubuntu的SSH连接数

#1

帖子 dreamflier » 2011-04-14 8:19

由于服务器要提供给多人同时并发使用ssh做连接进行远程操作,想知道一下SHH的最大并发连接数是多少,在哪里可以设置修改,如果修改?
谢谢大家。
头像
goldfox_79
帖子: 1937
注册时间: 2005-10-16 8:26
来自: 地球
送出感谢: 0
接收感谢: 1 次
联系:

Re: 关于ubuntu的SSH连接数

#2

帖子 goldfox_79 » 2011-04-14 10:35

以下内容来自man sshd_config

代码: 全选

   MaxStartups
	     Specifies the maximum number of concurrent unauthenticated con-
	     nections to the sshd daemon.  Additional connections will be
	     dropped until authentication succeeds or the LoginGraceTime
	     expires for a connection.	The default is 10.

	     Alternatively, random early drop can be enabled by specifying the
	     three colon separated values "start:rate:full" (e.g.,
	     "10:30:60").  sshd will refuse connection attempts with a proba-
	     bility of "rate/100" (30%) if there are currently "start" (10)
	     unauthenticated connections.  The probability increases linearly
	     and all connection attempts are refused if the number of unau-
	     thenticated connections reaches "full" (60).
回复

回到 “老旧版本支持”