This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git commits to Systemtap


I tried what you suggested and got:

git clone ssh://dcnomura@sources.redhat.com/git/systemtap.git git-ssh
Initialize git-ssh/.git
Initialized empty Git repository in /home/dcn/systemtap/git/git-ssh/.git/
Permission denied (publickey,gssapi-with-mic).
fatal: The remote end hung up unexpectedly

I also tried the modification you suggested to .ssh/config

I tried to just ssh to sources.redhat.com and got:
vervainp2.rchland.ibm.com% ssh dcnomura@sources.redhat.com
Permission denied (publickey,gssapi-with-mic).

I think the ssh id_rsa.pub is not working..

Any suggestions on how to debug this problem?

David Smith wrote:
Frank Ch. Eigler wrote:
Dave Nomura <dcnltc@us.ibm.com> writes:

One other piece possible important piece is that the my username on
the machine where I am doing the commit is different than the redhat
username when I requested git write permission.
Yes, that would do it. One fix is to a clause like

     Host sources.redhat.com sourceware.org
          User dcnomura

to your $HOME/.ssh/config file and try again. This same problem would
have arisen with CVS too.

You can also fix this at the git level, like this:


# git clone ssh://dcnomura@sources.redhat.com/git/systemtap.git

Either solution should work fine.



--
Dave Nomura
LTC Linux Power Toolchain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]