Skip to content
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

Allows do use github.com SSH authorization when downloading repos and submodules #45

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

Conversation

PopovGP
Copy link

@PopovGP PopovGP commented Feb 2, 2025

This script is updated to use SSH to handle downloading errors from Gihub when using https, like this "Fork for correction 'error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)' and SSH github.com authentication".

If the user has ~/.ssh/config file and it contains 'github.com' string then SSH is used.

The script is tested.

This script is updated to use SSH to handle downloading errors fro Gihub when using https, like this "Fork for correction 'error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)' and SSH github.com authentication".

If the user has ~/.ssh/config file and it contains 'github.com' string then SSH is used.

The script is tested.
@lurch
Copy link
Contributor

lurch commented Feb 10, 2025

Are you on some strange network where HTTPS access is blocked but SSH access is allowed? 🤔
Manually editing the .gitmodules files of other repos feels a bit ugly (IMHO).

@PopovGP
Copy link
Author

PopovGP commented Feb 11, 2025

I don't know why, but I was unable to install Raspberry Pico toolchain. While installing, I've got error while downloading from Github and only changing to SSH authentication helped.

@lurch
Copy link
Contributor

lurch commented Feb 12, 2025

I don't know why, but I was unable to install Raspberry Pico toolchain. While installing, I've got error while downloading from Github and only changing to SSH authentication helped.

Perhaps that's something that your network administrator or ISP or GitHub support will be able to help with?

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