Tag: ssh

Fix msysGit Portable $HOME location

I have successfully installed and configured msysGit Portable on my flash drive, and have used it to pull and push GitHub repos. However, I seem to always have to kludge the SSH support. Specifically, in order for SSH to find my key files, I have to follow these instructions to start a second instance of […]

git remote add with other SSH port

In Git, how can I add a remote origin server when my host uses a different SSH port? git remote add origin ssh://user@host/srv/git/example

Git clone with custom SSH using GIT_SSH error

I am trying to clone a Git repo using a custom SSH command. I set the SSH command in the GIT_SSH environmental variably be running export GIT_SSH=”/usr/bin/ssh -o StrictHostKeyChecking=no -i /home/me/my_private_key”. But when, after the previous command I run git clone git@bitbucket.org:uname/test-git-repo.git, I get the following weird error error: cannot run /usr/bin/ssh -o StrictHostKeyChecking=no -i […]

github: No supported authentication methods available

i use github and have successfully added and synched files on my laptop in the past. as of recent i started getting “PuTTY Fatal Error: Disconnected: No supported authentication methods available” after running: git pull origin master (or push) however ssh git@github.com returns the correct response: ERROR: Hi username! You’ve successfully authenticated, but GitHub does […]

Having Trouble Switching Github accounts on terminal

It’s been a while since I pushed anything to GitHub. I had initially set up my account on my computer, and everything worked great. Then I changed my account to a client’s account (so I could push code to their private repository). It’s been a while and now I am changing back to my old […]

How can I run git push/pull commands with SSH verbose mode?

If I run “git push” with the GIT_TRACE=2 environment variable, I get the following: 09:25:28.098743 git.c:349 trace: built-in: git ‘push’ ‘origin’ ‘master’ 09:25:28.100261 run-command.c:341 trace: run_command: ‘ssh’ ‘git@bitbucket.org’ ‘git-receive-pack ‘\”kevinburke/letter.git’\”’ Which is great except sometimes I get this error: fatal: Could not read from remote repository. I only get it intermittently so I’m not sure […]

Why git can't remember my passphrase under Windows

I have just start using git and i can’t get it to remember my passphrase I’m using cmd.exe elevated and my git host is github and i have create a ssh key like that guide on github but i still get *\subnus.mvc>git push origin master Enter passphrase for key ‘/c/Users/Subnus/.ssh/id_rsa’:

GIT: clone works, remote push doesn't. Remote repository over copssh

I’ve “setup-a-msysgit-server-with-copssh-on-windows”, following Tim Davis’ guide and I was now learning how to use the git commands, following Jason Meridth’s guide, and I have managed to get everything working fine, but now I can’t pass the push command. I have set the server and the client on the same machine (for now), win7-x64. Here is […]

Managing SSH keys within Jenkins for Git

I’m trying to get Jenkins up and running with a GitHub hosted repository (using the Jenkins Git plugin). The repository has multiple git submodules, so I’m not sure I want to try and manage multiple deploy keys. My personal GitHub user account is a collaborator of each of the projects I wish to pull in […]

Git push results in fatal: protocol error: bad line length character: This

I am trying to get GitLab working on my server (running CentOS 6.5). I followed the gitlab-receipe to the line, but I just can’t get it working. I am able to access the web interface, create new projects but pushing to the master branch returns the following error : fatal: protocol error: bad line length […]

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