mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Make sshd_config more flexible regarding connections (#16009)
* Make sshd_config more flexible regarding MaxStartups and MaxSessions. See https://man.openbsd.org/sshd_config for more information. * make property prefix equals other existing Gitea SSH properties. Co-authored-by: dlouzado <dlouzado@senado.leg.br>
This commit is contained in:
		@@ -5,6 +5,9 @@ AddressFamily any
 | 
				
			|||||||
ListenAddress 0.0.0.0
 | 
					ListenAddress 0.0.0.0
 | 
				
			||||||
ListenAddress ::
 | 
					ListenAddress ::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					MaxStartups ${SSH_MAX_STARTUPS}
 | 
				
			||||||
 | 
					MaxSessions ${SSH_MAX_SESSIONS}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LogLevel INFO
 | 
					LogLevel INFO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HostKey /data/ssh/ssh_host_ed25519_key
 | 
					HostKey /data/ssh/ssh_host_ed25519_key
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user