client session FEATURE hostkey check user clb
diff --git a/src/session_client.h b/src/session_client.h
index 0a48fef..7fae8fb 100644
--- a/src/session_client.h
+++ b/src/session_client.h
@@ -79,6 +79,14 @@
 #ifdef ENABLE_SSH
 
 /**
+ * @brief Set SSH authentication hostkey check (knownhosts) callback.
+ *
+ * @param[in] auth_hostkey_check Function to call, returns 0 on success, non-zero in error.
+ *                               If NULL, the default callback is set.
+ */
+void nc_client_ssh_set_auth_hostkey_check_clb(int (*auth_hostkey_check)(const char *hostname, ssh_session session));
+
+/**
  * @brief Set SSH password authentication callback.
  *
  * @param[in] auth_password Function to call, returns the password for username@hostname.