addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

RE: [ruby-81] Publickey problems with git

From: Jon S.
Sent on: Friday, September 4, 2009 1:02 PM
Thanks, Sarah... I tried it first with the syntax you suggested and got
this:

#1
jseidel@EDP15:~/git/­cucumber$ git remote add github
[address removed]:jesii/cucum­ber.git 
jseidel@EDP15:~/git/­cucumber$ git remote show github 
Repository not found. If you've just created it, please try again in a few
seconds.
fatal: The remote end hung up unexpectedly ls-remote 
--heads [address removed]:jesii/cucum­ber.git: command returned error: 128 

Then I replaced the ":" in the add URL with "/" and got this:

#2
jseidel@EDP15:~/git/­cucumber$ git remote add github
[address removed]/JESii/cubum­ber.git 
jseidel@EDP15:~/git/­cucumber$ git remote github origin 
jseidel@EDP15:~/git/­cucumber$ git remote show github
fatal: '[address removed]/JESii/cubum­ber.git': unable to chdir or not a git
archive
fatal: The remote end hung up unexpectedly ls-remote 
--heads [address removed]/JESii/cubum­ber.git: command returned error: 128


-----Original Message-----
From: [address removed] [mailto:[address removed]] On Behalf Of Sarah Mei
Sent: Friday, September 04,[masked]:54 AM
To: [address removed]
Subject: Re: [ruby-81] Publickey problems with git

I've never seen a git push to github work with ssh. Here's what I'd use to
set up the git remote for github:

git remote add github [address removed]:jesii/cucum­ber.git

To confirm remote is set up properly w/ public keys:
git remote show github

To push:
git push github master

On Fri, Sep 4, 2009 at 10:04 AM, Jon Seidel<[address removed]> wrote:
...
> Yet, I still get an error when attempting to push my changes:
> ? ? ? ?git push ssh://github.com/JES­ii/cucumber.git master
> ? ? ? ?Permission denied (publickey).
> ? ? ? ?fatal: The remote end hung up unexpectedly



--
Please Note: If you hit "REPLY", your message will be sent to everyone on
this mailing list ([address removed]) http://ruby.meetu...­ This
message was sent by Sarah Mei ([address removed]) from The East Bay Ruby
Meetup Group.
To learn more about Sarah Mei, visit his/her member profile:
http://ruby.meetu...­
To unsubscribe or to update your mailing list settings, click here:
http://www.meetup...­
Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA


Our Sponsors

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy