Skip to content

feat(client): Add ssh private-key support#1390

Merged
TwiN merged 3 commits into
TwiN:masterfrom
mufeedali:ssh-key
Nov 19, 2025
Merged

feat(client): Add ssh private-key support#1390
TwiN merged 3 commits into
TwiN:masterfrom
mufeedali:ssh-key

Conversation

@mufeedali

Copy link
Copy Markdown
Contributor

Fixes #1257

Summary

Adds support for using an unencrypted SSH key for SSH endpoint testing. Closes #1257 . I don't know if I should be adding a separate test for private-key, please let me know if I should :)

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@github-actions github-actions Bot added the feature New feature or request label Nov 16, 2025
@TwiN TwiN changed the title feat(endpoint): Add ssh key support feat(client): Add ssh private-key support Nov 16, 2025
@TwiN

TwiN commented Nov 16, 2025

Copy link
Copy Markdown
Owner

Excellent work! I'd appreciate a test for the private key, as you've suggested, though, and then we're good to go! No need to make it super complex.

@mufeedali

mufeedali commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

I looked into what we could be testing here. I've added a few cases to the existing config testing. But I can't think of a way to implement proper integration testing. Password-only could maybe be verified using https://test.rebex.net/ but can't think of a decent way to test private key auth.

@mufeedali

Copy link
Copy Markdown
Contributor Author

@TwiN I think the tests failed due to GitHub facing issues. Could you try re-running the tests?

@TwiN TwiN merged commit 6f9db41 into TwiN:master Nov 19, 2025
2 of 3 checks passed
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Nov 24, 2025
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/twin/gatus](https://github.com/TwiN/gatus) | minor | `v5.31.0` -> `v5.33.0` |

---

### Release Notes

<details>
<summary>TwiN/gatus (ghcr.io/twin/gatus)</summary>

### [`v5.33.0`](https://github.com/TwiN/gatus/releases/tag/v5.33.0)

[Compare Source](TwiN/gatus@v5.32.0...v5.33.0)

#### What's Changed

- feat(client): Add ssh private-key support by [@&#8203;mufeedali](https://github.com/mufeedali) in [#&#8203;1390](TwiN/gatus#1390)

#### New Contributors

- [@&#8203;mufeedali](https://github.com/mufeedali) made their first contribution in [#&#8203;1390](TwiN/gatus#1390)

**Full Changelog**: <TwiN/gatus@v5.32.0...v5.33.0>

### [`v5.32.0`](https://github.com/TwiN/gatus/releases/tag/v5.32.0)

[Compare Source](TwiN/gatus@v5.31.0...v5.32.0)

#### What's Changed

- feat(ui): customizable dashboard heading and subheading by [@&#8203;RezeOW](https://github.com/RezeOW) in [#&#8203;1235](TwiN/gatus#1235)
- docs: Add note to README.md regarding CAP\_NET\_RAW by [@&#8203;h3mmy](https://github.com/h3mmy) in [#&#8203;1384](TwiN/gatus#1384)

#### New Contributors

- [@&#8203;RezeOW](https://github.com/RezeOW) made their first contribution in [#&#8203;1235](TwiN/gatus#1235)

**Full Changelog**: <TwiN/gatus@v5.31.0...v5.32.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41LjAiLCJ1cGRhdGVkSW5WZXIiOiI0Mi41LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImltYWdlIl19-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2110
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No option for SSH key

2 participants