问题详情
[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上
[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上