From 85fbd6e9c6e90ea998719d0d40ddfb71affd9a05 Mon Sep 17 00:00:00 2001 From: imilo Date: Wed, 21 Dec 2016 10:46:54 +0200 Subject: New settings option for a custom SSH host (#3763) --- routers/install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers') diff --git a/routers/install.go b/routers/install.go index e71424c6..0c621e28 100644 --- a/routers/install.go +++ b/routers/install.go @@ -92,8 +92,8 @@ 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) } } -- cgit v1.2.3