mirror of
https://github.com/TwiN/gatus.git
synced 2026-10-22 05:42:33 +00:00
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>