Authentication fails when trying to clone from private bitbucket repo using GIthub CLI network bridge #45321
Replies: 2 comments
-
Hi @flyinfalcon, looking at the GH CLI docs, i'm seeing:
My guess about what's happening is by default, the GH CLI is using the It may work better to create a new Personal Access Token, save it as a codespace secret and then pass that as your auth mechanism to the GH CLI: https://cli.github.com/manual/gh_auth_login |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello,
I'm trying to clone from a private repo which is stored on a self hosted bitbucket server, to access this repo locally I need to be connected to the VPN(global protect). I want to be able to clone this repo on Codespaces so I am using the Github CLI network bridge so I should be able to access private resources however when I attempt to clone any bitbucket repo I get the message "fatal: Authentication failed for..." I also get no opportunity to enter credentials.
Why would this be happening?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions