[BUG] ssh monitor with proxyjump, triggering "Too many authentication failures" exception
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
The global singleton sshClient was shared across all connections, causing identity (passwords/keys) to accumulate globally. When with ProxyJump - authentication attempts would mix identities from different sessions, exceeding the server's MaxAuthTries and triggering "Too many authentication failures".
Expected Behavior
No response
Steps To Reproduce
No response
Environment
HertzBeat version(s): 1.7+
Debug logs
No response
Anything else?
#3926 No response
#3926
Fixed by #4198 (e57c728364): proxy-jump identities are now added to the shared SSH client under an exclusive lock and removed in finally, so they no longer accumulate and trigger "Too many authentication failures". Closing; please reopen if it still happens on the latest release.