Tag: ssh

Error message “uname.exe” has stopped working when I open Git Bash

For some days I have had a strange problem with my Git Bash installation: Whenever I run Git Bash, I immediately receive the error message “uname.exe” has stopped working, and a stackdump is created. I am working with Windows 7 64-bit and have re-installed the latest versions of both cygwin (64-bit) and Git Bash since […]

Github – Why would HTTPS stop working while SSH works fine

With no changes on my system over a weekend, on Monday I was no longer able to pull from an organizations github repos; other github repos worked fine. This was the message I got: $ git pull remote: Repository not found. fatal: repository ‘https://github.com/myorg/repo2.git/’ not found Another befuddling thing is that the same repos in […]

echo custom output when using Git over SSH

I use Gitolite and have set up a POST_CREATE trigger that clones a repository on another server and executes a couple of other commands. Some of these commands could take a while. This is the reason why I would like to echo some output so that the user actually sees what and if something happens […]

Git-server repository to be accessed with Cygwin+SSH

I have a Windows server machine on which I am hosting a repository. I created a bare repository on it which is accessible using file protocol with the following command. git clone //my-server/git/test.git This all works fine for me and the repository clones successfully on my local machine. Now I have to access this repository […]

Git push – does not appear to be a git repository (ssh pointing to wrong directory)

The case: I have installed the project omnibus-gitlab in an ubuntu release 12.04 following this tutorial. Everything seems to be correct. The server is working normally through the lan by the IP and I can access all the features of gitlab (with the browser). There I created a project with the root user (administrator) […]

Unable to push 'heroku master'

When I tried to run ‘git push heroku master’, I got the error ssh: connect to host heroku.com port 22: Connection timed out fatal: The remote end hung up unexpectedly I run the command ‘ssh -vvv git@heroku.com’ to know what is happening, the result is OpenSSH_5.9p1 Debian-5ubuntu1.3, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration […]

How can I inhibit git@example.com in preference to git@tweak.example.com?

I have multiple accounts on a Git-based forge[1], and I want to check out and manage repos via SSH (not HTTPS). I currently do this by: creating different key files for each account in my SSH config, creating a fake host per account assigning each key file as an IdentityFile to the matching fake host […]

Managing SSH keys for Heroku from mac and windows

At home I have a Mac book pro, at work I use a Windows 7 machine. I’ve created an Heroku account and added SSH keys from both machines. If I run heroku keys I see the 2 keys listed. I initially created a small app and deployed to heroku from my Mac book pro. Whilst […]

Execute command as passwordless user

To access a git repository from Jenkins, I need to login as this user and execute some commands (according to e.g. http://www.uvd.co.uk/blog/labs/configuring-jenkins-continuous-integration-server-to-work-with-git/, Jenkins Host key verification failed or Managing SSH keys within Jenkins for Git, I need to accept the host to known hosts and generate an ssh-key. I created the key with the root […]

Git Clones the Wrong Project

I have an application on openshift, but I lost my src. I am trying to git clone from the ssh url given there, but when I run: git clone ssh://… I instead get one of my other projects that is setup with bitbucket. I assume this has something to do with my ssh keys, I […]

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