diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index ed6442ca98dba55cd3f92b1d4d4644cbd9134835..5296226b18c67f4a228af2de9717b0b0a6fbf21a 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -5444,6 +5444,7 @@ NO_SSH: GCESS(i, client_socket, sbbs->ssh_session, "getting channel type"); if (tnamelen != 7 || strnicmp(tname, "session", 7)) { lprintf(LOG_INFO, "%04d SSH active channel '%s' is not 'session', disconnecting.", client_socket, tname); + loginFailure(startup->login_attempt_list, &client_addr, "SSH", NULL, NULL); // Fail because there's no session. ssh_failed = 3; }