【git】Permission denied (publickey)公钥未配置

问题详情

[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

解决方法

1.生成公钥

# 生成
ssh-keygen -t rsa -C "[email protected]"
# 查看公钥并复制
cat ~/.ssh/id_rsa.pub

2.复制添加到github ssh Key上

猜你喜欢

转载自blog.csdn.net/qq_41536505/article/details/130284870