Tag: ssh

gitlab6.0, Error Connection refused – connect(2) (Errno::ECONNREFUSED)

I installed gitlab I installed gitlab, after reading https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/databases.md ERROR: Failed to build gem native extension (mysql2 on rails 3.2.3) http://ubuntuforums.org/showthread.php?t=2061057 https://stackoverflow.com/questions/13018626/add-apt-repository-not-found I make repository in gitlab on browser, I set up ~/.ssh/config, and $ git push origin master I got Erorr /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize’: Connection refused – connect(2) (Errno::ECONNREFUSED) from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open’ from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in […]

Best practices for a single developer webproject setup

I am quite new to GIT, so please forgive me any stupid questions (if there is such a thing 🙂 SCENARIO One local repo on my dev machine (Win 7, Eclipse) One dedicated server hosting a testing site and a production site (Win 2008 Server, Admin permissions) GOAL Being able to work on my dev […]

Using git with ssh-agent on Windows

I’m on Windows. I installed git and posh-git (some helpers for Windows PowerShell). I can add keys with ssh-add and can authenticate with github and my webserver. I can also use git from the PowerShell to interact with my repositories. But there is one thing I can’t do: I use git-plus for the Atom editor. […]

Multiple ssh keys are not working

OS Description: Ubuntu 14.04.3 LTS ssh: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3, OpenSSL 1.0.1f 6 Jan 2014 I am unable to use multiple ssh key for gitlab. The error I am getting is GitLab: The project you were looking for could not be found. fatal: Could not read from remote repository. Please make sure you have the correct access […]

Custom commands with git-shell

How to create custom commands for git–shell? According to the documentation: When -c is given, the program executes non-interactively; can be one of git receive-pack, git upload-pack, git upload-archive, cvs server, or a command in COMMAND_DIR. The shell is started in interactive mode when no arguments are given; in this case, COMMAND_DIR must exist, and […]

Is it necessary to have a git installed on remote host when pushing against it?

We are facing a problem, when git cannot be installed on remote machine. And we still require a git repository on there. We could use some php libs to do commits on repository without having git installed. But can we push against a workstation that doesn’t have it? And how do we do that, if […]

How does git know which ssh key to use for its operations?

I have SSH keys in place, inside ~/.ssh. Many of them actually. So I wonder how does git know which one to take when it tries to connect to a repository over git@domain.com:group/repo.git endpoint?

Docker: How to access to a private github repo using ssh?

I’m trying to clone a private repo from github using Docker. The problem is that I need to use ssh to access to that repo. I added a key in my github project’s setting which is used, I suppose, to identify the docker‘s server. My problem is that I can’t figure out what I should […]

Command to create ssh config file using git bash(windows)?

I could only find details about configuring the config file, but i could no where find how to create a config file manually. I have generated rsa key, which is under .ssh folder but i couldn’t find the config file being created there.

How do I verify that a specific public key file is used with git?

I sent a 3rd party my public SSH key, which they used to add access for me to a particular repository. However, when I try to git clone, I get errors (in fact, I’m asked for a password). I’ve run into issues before when what I thought was my public key, wasn’t in fact the […]

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