Tag: ssh

How to get Jenkins to connect to git repository

I’m having trouble getting Jenkins to recognize my git repo. The screenshot is below. I was told using git clone https://blah/blah.git will clone the repo as read-only w/o needing credentials or keys. I want to just pull the code and build it. The funny thing is when I execute the same command from the command […]

Permission denied (publickey). git@bitbucket.org

I hava a problem in few weeks,When I push my change to remote that is always fail. But when I use windows,It’s simple.I just need to enter a password and every is fine. I have no idea please tell me how to do or where’s my fault. The error message is: $ sudo git push […]

git error “unable to look up current user in the passwd file: no such user” – what does this mean?

I cloned my git repo to a remote server, using ssh to communicate with it. Using git fetch remote works, but when I type git push remote I get this output: Counting objects: 242, done. Delta compression using up to 4 threads. Compressing objects: 100% (184/184), done. Writing objects: 100% (215/215), 238.00 KiB | 0 […]

Connecting to bitbucket repository from jenkins server

At moment I’m trying connect from jenkins to my bitbucket repository, using the git plugin that I’ve installed in jenkins. When I enter the repository URL, I get the following output or message notification such as shown in the figure: “Failed to connect to repository : Command “ls-remote -h git@bitbucket.org:safe2school-ondemand/s2s-android-padres.git HEAD” returned status code 128: […]

How to use multiple ssh keys for multiple gitlab accounts with the same host

This question already has an answer here: GitHub: Multiple account setup 2 answers

Using “KexAlgorithms diffie-hellman-group1-sha1” did not resolve “no matching key exchange method found” error

There’s a lot of questions about the following error, but they all have same solution which did not have any effect: $ git push Unable to negotiate with 192.168.XXX.XXX: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read from remote repository. Please make sure you have the correct access rights and […]

Capistrano error : could not connect to ssh-agent

I’m using Bedrock with Capistrano deploys. When I use command bundle exec cap staging deploy:check I get an authentication error : … D, [2015-05-09T15:39:53.878464 #15636] DEBUG — net.ssh.authentication.session[1e34a58]: trying publickey D, [2015-05-09T15:39:53.878464 #15636] DEBUG — net.ssh.authentication.agent[1e30d2c]: connecting to ssh-agent E, [2015-05-09T15:39:53.879447 #15636] ERROR — net.ssh.authentication.agent[1e30d2c]: could not connect to ssh-agent E, [2015-05-09T15:39:53.879447 #15636] ERROR — […]

Git Push To Remote Server Hangs Using Cygwin

I’m new to git via the command line and have run into a bit of trouble I haven’t been able to pull myself out of. I’ve set up a repository on my server and have created a local directory using the directions at thelucid.com. on server: ssh git@example.com mkdir my_project.git cd my_project.git git init –bare […]

EC2/AWS, Jenkins, Git, SSH

[Update2] So is it OK that when I run git from the CLI it prompts me for the password? I am able to access the github servers with the passphrase for the ssh private key, but I am never prompted for this in Jenkins or asked to provide it. [/Update2] [Update] Yes. I am running […]

Git Push Hangs After a Few Pushes

I start up Ubuntu Linux, open a terminal, edit some code, and happily execute git push origin master However, after some period of time (sometimes 30 mins, sometimes a few hours), the exact same command will hang (no output at all). When I try ssh -v git@github.com I get the following response: OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL […]

Git Baby is a git and github fan, let's start git clone.