当前位置:   article > 正文

gitee传入公钥以后每次push依然需要输入密码(本流程适用于win10)_windows gitee push 密码

windows gitee push 密码

加入公钥的过程是这样的:

(Python3.6) appleyuchi@Desktop:~$ cd ~/.ssh
(Python3.6) appleyuchi@Desktop:.ssh$ ls
authorized_keys  id_rsa  id_rsa.pub  known_hosts

------------------------------------------------------------------------------------------------

id_rsa.pub 里面的内容拷贝到

然后发现每次push和clone都特么需要账户和密码.

------------------------------------------------------------------------------------------------

解决方案:

选择SSH,然后git clone

不要一路回车,注意:

------------------------------------------------------------------------------------------------

Host key verification failed. fatal: Could not read from remote repository.

请手动输入yes, 不要直接回车

------------------------------------------------------------------------------------------------

git config --global credential.helper store

Reference:

[1]问题解决 - git/gitee 克隆(clone)远程仓库后,已增加SSH公钥还是每次都需要输入用户名密码

[2]Host key verification failed. fatal: Could not read from remote repository._年轻即出发的博客-CSDN博客

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/699647
推荐阅读
相关标签
  

闽ICP备14008679号