I work to understand Ruby on Rails with a tutorial of M Hartl.
I have finished chapter 6 and git push
the work on git-hub, but I received this error:
rene@Linux-Ubuntu:~/rails_projets/sample_app$ git push Permission denied (publickey).
fatal: The remote end hung up unexpectedly
I reinstalled a new publickey as a Help-Git instruction
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).
And I have the files in a repository:
rene@Linux-Ubuntu:~/.ssh$ ls
ak.bak config id_dsa id_dsa.pub id_rsa id_rsa.pub key_backup/ known_hosts
What did I do wrong?
Have you told github about your public key?
https://github.com/settings/ssh
(it's the contents of id_rsa.pub
that you need)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With