4 Commits
Author SHA1 Message Date
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
TwiNandGitHub 83edca6e80 refactor: Modify implementation of TLS (#457)
* refactor: Don't generate certificates programmatically

* build: Add testdata folder to .dockerignore
2023-04-22 15:22:09 -04:00
a05daeda2e feat(web): Support TLS encryption (#322)
* Basic setup to serve HTTPS

* Correctly handle the case of missing TLS configs

* Documenting TLS

* Refactor TLS configuration setup

* Add TLS Encryption section again to README

* Extending TOC in README

* Moving TLS settings to subsection of web settings

* Adding tests for config/web

* Add test for handling TLS

* Rename some variables as suggested

* Corrected error formatting

* Update test module import

* Polishing the readme file

* Error handling for TLSConfig()

---------

Co-authored-by: TwiN <twin@linux.com>
2023-04-22 12:12:56 -04:00
TwiN 8c73ae6035 Fix #22: Improve alerting provider tests by mocking HTTP client 2021-12-02 23:10:21 -05:00