I found out that if I did 'git push origin master' in the msys batch
it worked. If I used the normal command line neither 'ssh -v
[EMAIL PROTECTED]' or 'git push origin master' worked, but it worked just
fine in the msys batch. (Why?)

On 30 Nov., 17:11, David Trasbo <[EMAIL PROTECTED]> wrote:
> This is what I get:
>
> OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
> debug1: Connecting to github.com [65.74.177.129] port 22.
> debug1: Connection established.
> debug1: identity file /.ssh/identity type -1
> debug1: identity file /.ssh/id_rsa type -1
> debug1: identity file /.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_4.7
> debug1: match: OpenSSH_4.7 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.6
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> debug1: Host 'github.com' is known and matches the RSA host key.
> debug1: Found key in /.ssh/known_hosts:1
> debug1: ssh_rsa_verify: signature correct
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: SSH2_MSG_NEWKEYS received
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue: publickey
> debug1: Next authentication method: publickey
> debug1: Trying private key: /.ssh/identity
> debug1: Trying private key: /.ssh/id_rsa
> debug1: Trying private key: /.ssh/id_dsa
> debug1: No more authentication methods to try.
> Permission denied (publickey).
>
> On 29 Nov., 21:06, "GitHub Support" <[EMAIL PROTECTED]> wrote:
>
>
>
> > David,
> > Run this and paste the output please:
> > ssh -v [EMAIL PROTECTED]
>
> > Tekkub
> > Github General Supporthttp://support.github.com/
> > Join us on IRC: #github on freenode.net
> > Discussion group: github@googlegroups.com
>
> > On Sat, Nov 29, 2008 at 11:08 AM, David Trasbo <[EMAIL PROTECTED]>wrote:
>
> > > First of all: I'm running Windows. I know... I know I shouldn't, but
> > > don't run away screaming anyway. I would like some help. When I type
> > > 'git push origin master' in my commandline I am getting the following
> > > error message:
>
> > > Permission denied (publickey).
> > > fatal: The remote end hung up unexpectedly
>
> > > I do understand _what_ this means, but I have no idea _why_ this
> > > happens. Let me explain what I've done. First of all I created a
> > > repository at GitHub. Then I did 'git init', 'git add .', 'git commit -
> > > a -m "..."',  and then 'git remote add origin [EMAIL PROTECTED]:user/
> > > repo.git'.
>
> > > Before pushing I went to the msysgit batch and did 'ssh-keygen -C
> > > "[EMAIL PROTECTED]" -t rsa' and generated my public key. Then I went to C:
> > > \Documents and Settings\David\.ssh\id_rsa.pub copied the content of
> > > the file, went to GitHub and added a new SSH Public Key, called it
> > > home, pasted the content, and saved.
>
> > > I also did:
>
> > > git config --global user.name "..."
> > > git config --global user.email "..."
> > > ... github.user "..."
> > > ... github.token "..."
>
> > > The last two just to be on the safe side. Anyway I'm stilling getting
> > > the error message when typing 'git push origin master'. What do I
> > > miss? Any help appreciated. :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to