SSH #118661
Replies: 4 comments 6 replies
-
can you paste that as text ? it's unreadable as image, |
Beta Was this translation helpful? Give feedback.
-
Copilot might be of help, The output you're seeing is from an attempt to connect to GitHub via SSH. It seems like the SSH client is not able to authenticate with the server. Here are a few things you could check:
If you're still having trouble, you might want to consider using HTTPS instead of SSH for your GitHub connections. You can switch the remote URL of your repository from SSH to HTTPS with the following command: git remote set-url origin https://github.com/username/repo.git Replace |
Beta Was this translation helpful? Give feedback.
-
Hi @xxxxxyang The GitHub documentation for SSH is pretty thorough as well. As a side note, I would definitely delete any of the keys you have posted screenshots of. P.S. I'm gonna move this question over to "Code Security" for maximum visibility. It could go to "Repositories" as well, but I think the "Code Security" community could have some extra insight. Thanks for participating @jdevstatic @eymeen ! |
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
I have added the correct ssh_id_rsa_pub to my github account. However when I try to use it to connect my remote repositories, it doesn't work. This is the concrete information:
Looking forward to your answer, thank you!
Beta Was this translation helpful? Give feedback.
All reactions