From 0f305d53977ed7999917763de719f655fd773870 Mon Sep 17 00:00:00 2001 From: Jack Doan Date: Wed, 5 Nov 2025 10:41:56 -0600 Subject: [PATCH] don't block startup on failure to configure SSH (#1520) --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index eb296fb..98c849a 100644 --- a/main.go +++ b/main.go @@ -75,7 +75,8 @@ func Main(c *config.C, configTest bool, buildVersion string, logger *logrus.Logg if c.GetBool("sshd.enabled", false) { sshStart, err = configSSH(l, ssh, c) if err != nil { - return nil, util.ContextualizeIfNeeded("Error while configuring the sshd", err) + l.WithError(err).Warn("Failed to configure sshd, ssh debugging will not be available") + sshStart = nil } }