mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 17:24:22 +00:00 
			
		
		
		
	
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							51d578ff33
						
					
				
				
					commit
					56614b2cbe
				
			@@ -578,6 +578,7 @@ please consider changing to GITEA_CUSTOM`)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	SSH.KeygenPath = sec.Key("SSH_KEYGEN_PATH").MustString("ssh-keygen")
 | 
						SSH.KeygenPath = sec.Key("SSH_KEYGEN_PATH").MustString("ssh-keygen")
 | 
				
			||||||
	SSH.Port = sec.Key("SSH_PORT").MustInt(22)
 | 
						SSH.Port = sec.Key("SSH_PORT").MustInt(22)
 | 
				
			||||||
 | 
						SSH.ListenPort = sec.Key("SSH_LISTEN_PORT").MustInt(SSH.Port)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// When disable SSH, start builtin server value is ignored.
 | 
						// When disable SSH, start builtin server value is ignored.
 | 
				
			||||||
	if SSH.Disabled {
 | 
						if SSH.Disabled {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user