我通过 M Hartl 的教程来理解 Ruby on Rails。
我已经完成了第 6 章和git push
git-hub 上的工作,但我收到了这个错误:
rene@Linux-Ubuntu:~/rails_projets/sample_app$ git push 权限被拒绝(公钥)。
致命:远端意外挂断
我重新安装了一个新的公钥作为 Help-Git 指令
debug1: Next authentication method: publickey
debug1: Offering DSA public key: rene@Linux-Ubuntu
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: rene@Linux-Ubuntu
debug1: Authentications that can continue: publickey
debug1: Trying private key: [~/.ssh/id_rsa]
debug1: Trying private key: [~/.ssh/id_dsa]
debug1: No more authentication methods to try.
Permission denied (publickey).
我在存储库中有文件:
rene@Linux-Ubuntu:~/.ssh$ ls
ak.bak config id_dsa id_dsa.pub id_rsa id_rsa.pub key_backup/ known_hosts
我做错了什么?