欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

解决GitHub未配置SSH key提示错误信息

发布时间:2024/10/12 编程问答 81 豆豆
生活随笔 收集整理的这篇文章主要介绍了 解决GitHub未配置SSH key提示错误信息 小编觉得挺不错的,现在分享给大家,帮大家做个参考.
git push -u origin master Permission denied (publickey). fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.

 似乎GitHub for Windows 设置的ssh key在命令行下就不能用。只需在Git Bash配置SSH KEY就可以解决

参考:GitHub Help

中途遇到个问题,在输入passphrase时,按键盘但Git Bash上无显示,特咨询GitHub,得到如下答复:

 

That is how the password question works. Most password fields show a * character, but the command line doesn't show anything.

It's a little inconvenient, but even though it doesn't show anything it is reading what you type.

 

解释为:即使你看不见,但仍在读入你输入的东西

按照官方教程即可搞定

转载于:https://www.cnblogs.com/gabygoole/p/5382325.html

总结

以上是生活随笔为你收集整理的解决GitHub未配置SSH key提示错误信息的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。