mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 02:34:04 +09:00
* New settings option for a custom SSH host (#3763) * let default ssh listen addr empty
This commit is contained in:
committed by
Thomas Boerger
parent
11df7ebfc5
commit
65b1875d2b
@ -73,7 +73,7 @@ func GlobalInit() {
|
||||
checkRunMode()
|
||||
|
||||
if setting.InstallLock && setting.SSH.StartBuiltinServer {
|
||||
ssh.Listen(setting.SSH.ListenPort)
|
||||
log.Info("SSH server started on :%v", setting.SSH.ListenPort)
|
||||
ssh.Listen(setting.SSH.ListenHost, setting.SSH.ListenPort)
|
||||
log.Info("SSH server started on %s:%v", setting.SSH.ListenHost, setting.SSH.ListenPort)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user