我通过M Hartl的教程来了解Ruby on Rails
我已经完成了第6章和git push
关于git-hub的工作,但是我收到了这个错误:
rene @ Linux-Ubuntu:〜/ rails_projets / sample_app $ git push Permission denied(publickey)。
致命:远程端意外挂断
我重新安装了一个新的公钥作为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
我做错了什么?