IDEA中使用git报错Permission denied (publickey)
程序员文章站
2022-05-14 21:21:23
...
最近在使用idea开发时,使用git拉取远程仓库的代码时,报错Permission denied (publickey),原因是因为ssh的**失效,必须得重新设置下ssh的**即可。
命令很简单,在idea里面找到terminal终端,输入命令:
ssh-****** -t rsa -C "[email protected]"
命令后半部分的邮箱就是你在git远程仓库登录的邮箱,设置好后,重新拉取代码即可.
上一篇: 解决小程序页面路径最多只能十层限制
推荐阅读
-
git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...
-
Git报错解决:[email protected]: Permission denied (publickey).
-
git报错:[email protected]: Permission denied (publickey)
-
IDEA中使用git报错Permission denied (publickey)
-
linux git clone 仓库报错: Permission denied (publickey)
-
git clone时报错Permission denied (publickey,password)