--- lbbs/src/net_server.c 2025/12/25 05:20:09 1.113 +++ lbbs/src/net_server.c 2026/01/03 10:27:14 1.115 @@ -3,7 +3,7 @@ * net_server * - network server with SSH support * - * Copyright (C) 2004-2025 Leaflet + * Copyright (C) 2004-2026 Leaflet */ #ifdef HAVE_CONFIG_H @@ -124,6 +124,7 @@ static int auth_password(ssh_session ses if (ret == 0) { + log_common("User [%s] authenticated successfully", user); return SSH_AUTH_SUCCESS; } @@ -132,6 +133,8 @@ static int auth_password(ssh_session ses sdata->error = 1; } + log_common("User [%s] authentication failed (%d/%d)", user, + sdata->tries, BBS_login_retry_times); return SSH_AUTH_DENIED; }