Sunday, 15 July 2012

ssh - git push heroku master permission denied on VISTA -


(Using Vista) I'm trying to clone an app from my GitHub repository and push it into a hierocoo I am giving Ok, so I have tried to create an SSH key several times with it:

  `ssh-keygen -t rsa`  

It seems like full Let's go the way I have it on my C: / user / *** /. SSP Folder Now I try to clone an app in Guitbah when I try to clone it on the rails_apps directory, I get a message

  Permission denied (public key)  

I found a solution on the net that I should run first:

  `ssh-add`  

So I tried to do this but it has said that:

The connection to your authentication agent can not be opened.

Then after some googling I find something about executing the ssh-agent. So I do this:

  `ssh-agent bash`  

And this line changes in line from my line:

  `bash3.1 $>`  

So I run:

  `bash3.1 $ & gt; Ssh- Add [path .ssh folder] ` 

and it successfully connects RSA private key (this does not work with id-rsa.pub). I have pasted the newly generated public key in my account account.

Now when I try to clone: ​​

`bash3.1 $ & gt; Git clone git@github.com: username / myrepo.git`

It is now successfully cloning Repo I in GitHub. Now when I have an app in my local repo, then I try to make an AOP application for him.

  `bash3.1 $ & gt; CD Myerepo '' bash3.1 $ & gt;  

And this code runs successfully Git remote successfully added Now I have to push what I have to do.

  `bash3.1 $ & gt; Gate has suppressed his master master. ' 

Balm! I get the error message again.

Denied with permission (public key)

I am very close to launching my app. But it just will not work, can you help me What am I doing wrong here? Thanks! : D

Note: Indication of your answer:

You need To give your key, there should be a command to do this. If you can not find it, then you have to contact their support.

For this, see (and also):

  myoku key: add ~ / .ssh / id_rsa.pub  

See more on that process.
You can then see a list of all the keys, including the name of the key, like: Note: It seems that you did not use sudo to create your keys, as "" shows up ( Where Harokee keys:

   is not working) 


More information about your SS key in your second.

  debug1: Trying Private Key: /.ssh/ Detect Debug 1: Trying Private Key: /.ssh/id_rsa debug1: Trying Private Key : /.ssh/id_dsa  

I'm not sure why this is / .ssh and otherwise the ~ / .ssh . Try to take your keypier on that path.


shouldn can not be:

  Git Push Original Master  

? By default, a reference to the clone repo is called 'original', not 'herooco'

what

  git remote -v show  < / Pre> 

display?

This is what you want, you can refer to the remote repo of its name

Prior Git Remote adding git@github.com: git_username / projectname.git < / Code>

No comments:

Post a Comment