Skip to content

PGO update script: Connect to GitHub over HTTPS rather than SSH. #11814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

PGO update script: Connect to GitHub over HTTPS rather than SSH.

The gh auth setup-git command appears to configure Git as a credential
helper for https, not for SSH-based access. SSH access fails with the
host authenticity check.

Try to connect over HTTPS instead, to see if that works properly.
Otherwise we will have to provision ~/.ssh/known_hosts and give the
agent a private SSH key for authentication.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Jun 13, 2025
The `gh auth setup-git` command appears to configure Git as a credential
helper for `https`, not for SSH-based access. SSH access fails with the
host authenticity check.

Try to connect over HTTPS instead, to see if that works properly.
Otherwise we will have to provision `~/.ssh/known_hosts` and give the
agent a private SSH key for authentication.

PiperOrigin-RevId: 771259063
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant