ssh: Could not resolve hostname github.com: Name or service not known; fatal: The remote end hung up unexpectedly

后端 未结 7 1619
予麋鹿
予麋鹿 2020-12-12 20:10

The process of setting up a GitHub account works just fine but it doesn\'t work when I try pushing my repository to GitHub. The error message it shows is as follows:

相关标签:
7条回答
  • 2020-12-12 21:03

    Each of this could help

    1. Confirm if you are still connected using ssh. Type this: ssh -T git@github.com

    If you get the message that you were successfully authenticated and that github doesn't suppoet shell access then you can trying pushing your code again.

    2)Create a new ssh key, add it to github and test it using ssh -T git@github.com

    0 讨论(0)
提交回复
热议问题