hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[BUG] ssh monitor with proxyjump, triggering "Too many authentication failures" exception

Open LL-LIN opened this issue 11 months ago • 2 comments

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

LL-LIN avatar Dec 23 '25 07:12 LL-LIN

#3926

LL-LIN avatar Dec 23 '25 07:12 LL-LIN

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.

orangeCatDeveloper avatar Sep 27 '26 22:09 orangeCatDeveloper