问题详情 git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. 解决方法 1.生成公钥 # 生成 ssh-keygen -t rsa -C "youremail@example.com" # 查看公钥并复制 cat ~/.ssh/id_rsa.pub 2.复制添加到github ssh Key上