Update GitHub SSH known host keys by safeengineauto · Pull Request #1982 · JamesIves/github-pages-deploy-action · GitHub
Skip to content

Update GitHub SSH known host keys - #1982

Merged
JamesIves merged 2 commits into
JamesIves:devfrom
safeengineauto:update-github-ssh-known-hosts
Jul 5, 2026
Merged

JamesIves merged 2 commits into
JamesIves:devfrom
safeengineauto:update-github-ssh-known-hosts

Conversation

@safeengineauto

Copy link
Copy Markdown
Contributor

Description

This updates the GitHub SSH known-host entries used during SSH setup.

The action now uses GitHub's current RSA, ECDSA, and Ed25519 host keys from the official SSH fingerprint documentation, and no longer writes the DSA/DSS entry.

GitHub SSH fingerprint docs:
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints

Testing Instructions

  • Verified the known-host entries against GitHub's current SSH fingerprint documentation.
  • Added focused unit test assertions for the known-host entries written by configureSSH.
  • Not run locally; CI should run the test suite.

Additional Notes

This keeps the existing behavior shape and only updates the known-host key material.

@JamesIves

Copy link
Copy Markdown
Owner

@JamesIves JamesIves left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! verified these against the official docs.

@JamesIves
JamesIves merged commit f74c3c9 into JamesIves:dev Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants