From 996365085e79d30e1b13cd226c4831ffd5b4f910 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 23 Mar 2018 23:57:46 +0000 Subject: [PATCH] Log a generic "SSH session establishment failed" message (with NOTICE severity) whenever there is an SSH session establishment failure, because some of the SSH failure errors are DEBUG level severity and won't be visible with "Normal" (informational) log output filtering. This resolves the issue of seing "SSH connection accepted from <ip-address> port <port>" messages with no follow-up messages as to what happened to that connection. --- src/sbbs3/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 4e1adc9782..7a6867affd 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -5476,6 +5476,7 @@ NO_SSH: } } if(ssh_failed) { + lprintf(LOG_NOTICE, "%04d SSH session establishment failed", client_socket); cryptDestroySession(sbbs->ssh_session); close_socket(client_socket); continue; -- GitLab