This is my first time using git, and I am not sure what is going on, and I can't find开发者_运维问答 an answer that is resolving the problem.
I am running:
git commit -m 'first commit'
git remote add origin git@github.com:OldWest/CakePHP-Tutorials.git
git push origin master
And everytime I run: push origin master, I get error: Permission Denied (publickey). Fatal: The remote end hung unexpectedly.
So I ran: ssh-keygen -t rsa to generate a local key. That did not resolve it.
Anyone know why this is not working?
You have to upload your public key to your account on GitHub so they know that it's you and not some random person. The key is located in the .ssh folder of your home directory.
See "Adding the key to your GitHub account" on this page.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论