From c875950c438b1ccbb546fecb4905680a0cbd38a7 Mon Sep 17 00:00:00 2001 From: Eduardo Bacchi Kienetz Date: Fri, 4 Dec 2020 08:52:26 -0500 Subject: ssh: allow setting allowed MAC algorithms for built-in server (#6435) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ᴜɴᴋɴᴡᴏɴ --- internal/route/install.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/route/install.go') diff --git a/internal/route/install.go b/internal/route/install.go index 9a8f2e39..86462a8a 100644 --- a/internal/route/install.go +++ b/internal/route/install.go @@ -98,9 +98,10 @@ func GlobalInit(customConf string) error { } if conf.SSH.StartBuiltinServer { - ssh.Listen(conf.SSH.ListenHost, conf.SSH.ListenPort, conf.SSH.ServerCiphers) + ssh.Listen(conf.SSH.ListenHost, conf.SSH.ListenPort, conf.SSH.ServerCiphers, conf.SSH.ServerMACs) log.Info("SSH server started on %s:%v", conf.SSH.ListenHost, conf.SSH.ListenPort) log.Trace("SSH server cipher list: %v", conf.SSH.ServerCiphers) + log.Trace("SSH server MAC list: %v", conf.SSH.ServerMACs) } if conf.SSH.RewriteAuthorizedKeysAtStart { -- cgit v1.2.3