Files
a911d7296f fix(ssh): support keyboard-interactive authentication for endpoints and tunnels (#1863)
Servers with PasswordAuthentication disabled but keyboard-interactive
enabled (e.g. PAM-based password prompts) only offer the
"keyboard-interactive" method. Gatus only offered "password", so the
handshake failed with "ssh: unable to authenticate, attempted methods
[none], no supported methods remain", although the OpenSSH CLI could
log in with the same credentials.

When a password is configured, SSH endpoints and SSH tunnels now also
offer keyboard-interactive authentication and answer every prompt with
the configured password.

Tests run against an in-process SSH server (test.StartSSHServer) that
only accepts the method under test.

This commit was made by an AI agent (Claude Code, model: Claude Opus 5.5, claude-opus-5-5).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:28:53 -04:00
..