diff options
-rw-r--r-- | internal/sshd/sshd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sshd/sshd.go b/internal/sshd/sshd.go index 80e87e0..dbb8709 100644 --- a/internal/sshd/sshd.go +++ b/internal/sshd/sshd.go @@ -44,7 +44,7 @@ func logSSHInitError(ctxlog *logrus.Entry, err error) { logger := ctxlog.WithError(err) - if strings.Contains(err.Error(), "no common algorithm for host key") { + if strings.Contains(err.Error(), "no common algorithm for host key") || err.Error() == "EOF" { logger.Debug(msg) } else { logger.Warn(msg) |