server session FEATURE write messages on ssh authentication timeout
diff --git a/src/session_server_ssh.c b/src/session_server_ssh.c
index 23d5767..71e8ad8 100644
--- a/src/session_server_ssh.c
+++ b/src/session_server_ssh.c
@@ -984,6 +984,7 @@
if ((timeout != -1) && (elapsed_usec / 1000 >= timeout)) {
/* timeout */
+ ERR("Failed to start \"netconf\" SSH subsystem for too long, disconnecting.");
break;
}
@@ -1133,6 +1134,7 @@
if (!(session->flags & NC_SESSION_SSH_AUTHENTICATED)) {
/* timeout */
+ ERR("Client failed to authenticate for too long, disconnecting.");
return 0;
}