It is not working only for Getting Start Guide in official link.
https://devcenter.heroku.com/articles/getting-started-with-nodejs
Just follow above link, and when you push source to Heroku, you will see this massage.
C:\heroku\KanbanBoardProject>git push heroku masterPermission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
This problem was not on my SSH key.. Even I put right SSH key in Heroku's account, my command prompt cannot get SSH key by itself. I just got reason from below link.
http://stackoverflow.com/questions/17626944/heroku-permission-denied-publickey-fatal-could-not-read-from-remote-reposito
And window solution is here.
http://wordgraphs.com/post/5000/Heroku--Permission-denied--publickey---fatal--Could-not-read-from-remote-repository-
C:\heroku\KanbanBoardProject>ssh-agentSSH_AUTH_SOCK=/tmp/ssh-TFTddq3932/agent.3932; export SSH_AUTH_SOCK;SSH_AGENT_PID=6616; export SSH_AGENT_PID;echo Agent pid 6616;C:\heroku\KanbanBoardProject>set SSH_AUTH_SOCK=/tmp/ssh-TFTddq3932/agent.3932C:\heroku\KanbanBoardProject>set SSH_AGENT_PID=6616C:\heroku\KanbanBoardProject>ssh-add C:\Users\chris\.ssh\id_rsaIdentity added: C:\Users\chris\.ssh\id_rsa (C:\Users\chris\.ssh\id_rsa)C:\heroku\KanbanBoardProject>heroku keys:addFound existing public key: C:/Users/chris/.ssh/id_rsa.pubUploading SSH public key C:/Users/chris/.ssh/id_rsa.pub... doneC:\heroku\KanbanBoardProject>git push heroku masterCounting objects: 1138, done.Delta compression using up to 4 threads.Compressing objects: 100% (1041/1041), done.Writing objects: 100% (1138/1138), 1.39 MiB | 159 KiB/s, done.Total 1138 (delta 117), reused 0 (delta 0)
It is working as a charm, I spent lots of time to solve it..T.T
I hope windows user can solve this issue with below solultion!!
댓글 없음 :
댓글 쓰기