Hello Jenkins Dev team, Wow what pain.
In this folder I have my keys and yes I an authenticate /var/lib/jenkins/.ssh ssh -T [email protected] The authenticity of host 'github.com (xxx.xxx' can't be established. RSA key fingerprint is 1dsdsdsdsd. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,1xxx.xxx' (RSA) to the list of known hosts. Hi aws-deploy! You've successfully authenticated, but GitHub does not provide shell access. jenkins@jenkins-zen-aws-development-sg-jzkm:~/.ssh$ git config --global user.email "[email protected]" jenkins@jenkins-zen-aws-development-sg-jzkm:~/.ssh$ git config --global user.name "jenkins" And wow....in the UI I get the below Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h [email protected]:test/test.git HEAD" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. OMG but is works on the command line.. git -c core.askpass=true ls-remote -h [email protected]:tats/test.git 7ccd2997c8b6d7261b1d9c534753ce2d3a356657 refs/heads/development 7ee63a5fa284d9de7e55dc6d3733db9237d78ba0 refs/heads/master So.....why? On Friday, May 13, 2016 at 8:18:51 PM UTC+8, David Montgomery wrote: > > Hi, > > I am new do Jenkins 2 and finding configuring git my no stretch of the > imagination straightforward. Where is the "I am stupid to live > documentation?" > > I am on a standard ubuntu 14.04 server, using github and my ssh keys > work. Docs on how to setup server with git so far are terrible with > different methods of doing things. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6af9e81d-18bc-4c4c-beb3-6bf6df57e60b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
