Thanks Peter, every thing works following you guide!
On Dec 17, 6:09 pm, Peter <[email protected]> wrote:
> I believe the problem is that you have copied your public key from
> your office computer to your home computer. SSH keys come in pairs,
> and you have copied half of that pair (the public part), while the
> other half (the private part) is still only on your office computer.
> Therefore when gitorious tries to authenticate with the home computer
> SSH client it fails because there is no private key there.
>
> I'd say try this on your home computer:
>
> 1) delete the copied ip_rsa.pub file
> 2) create a new SSH key
> 3) On gitorious, go to "My Account", click on "Add SSH key" and add
> the new (home computer) ip_rsa.pub content (you can have multiple
> public keys in your gitorious account, one for each of your
> computers).
> 4) Try to clone your project.
>
> Please let us know if this worked.
>
> Regards,
>
> Peter
>
> On Dec 17, 8:11 pm, vortune <[email protected]> wrote:
>
> > I want to push my code in tow place, my office or my home. I have push
> > code to gitorious.org via my office desktop. I copy the ~/.ssh/
> > ip_rsa.pub to my home desktop, `git-clone` down my project into my
> > home desktop, chang the git config look like bellow:
>
> > [core]
> > repositoryformatversion = 0
> > filemode = true
> > bare = false
> > logallrefupdates = true
> > [remote "origin"]
> > url = [email protected]:essentialdrivers/mainline.git
> > fetch = +refs/heads/*:refs/remotes/origin/*
> > [branch "master"]
> > remote = origin
> > merge = refs/heads/master
>
> > while, I push my work to the gitorious.org, the gitorious.org challege
> > me the login password. I type in my password, the gitorious.org server
> > hug up my action. why ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---