Tag: ssh

gitolite: can connect via ssh, can't clone

I installed gitolite on my server using this tutorial. This falls under the “non-root” method. It fails when I try to clone gitolite-admin back to my client. I get this error message: git clone gitolite@server.com:gitolite-admin Cloning into gitolite-admin… fatal: The remote end hung up unexpectedly Also: git clone ssh://gitolite@server.com:gitolite-admin Cloning into gitolite0admin… Using username “git-upload-pack […]

Permission denied (publickey) when pushing commit to amazon ec2

I know that a lot of similar questions exist here (and I read a lot of them before posting this one), but this one is different, so please stay with me for a while. Few days ago I configured my remote git repository on amazon ec2. After hours of struggling I made it working and […]

How to remove a ssh key?

I’ve currently an old SSH key uploaded on the server. The problem is I lost my ~/.ssh directory (with the original id_rsa and id_rsa.pub files). Consequently, I want to remove the old SSH key directly on the server and upload a new one. I tried the following command without success: $> ssh-add -D Is there […]

Git's famous “ERROR: Permission to .git denied to user”

I have tried googling and read through http://help.github.com/troubleshooting-ssh/ and various, various guides. I am unable to git push -u origin master or git push origin master ( the same command ). I’ve had my git account for at least 2 or so years. I’ve successfully been able to create repos and push -u origin master […]

Git On Custom SSH Port

My VPS provider recommends that I leave my SSH port to the custom port number they assign it by default (not 22). The thing is the while I know I can give the port number when create a remote config, it seems like I can’t do the same when doing a git clone. I am […]

Hudson Git Plugin not working on windows

I have msysgit installed with OpenSSH option. In Git bash, I can run ssh-agent, and it manages the passphrase for my ssh key. Is it possible for the Hudson Git plugin to use ssh-agent? Currently, it hangs when trying to clone, no doubt waiting for the passphrase to be entered. Thanks!

Why does GitHub recommend HTTPS over SSH?

On the GitHub site there is a link… https://help.github.com/articles/generating-ssh-keys … and it states… If you have decided not to use the recommended HTTPS method, we can use SSH keys to establish a secure connection between your computer and GitHub. The steps below will walk you through generating an SSH key and then adding the public […]

SSH Private Key Permissions using Git GUI or ssh-keygen are too open

Recently I’ve been unable to clone or push to github, and I’m trying to find the root cause. This is on windows I have cygwin + git as well as msysgit. Msysgit was installed with the following options: OpenSSH Use Git from Windows Command Prompt That gives me 4 environments to try to use git […]

Git SSH client for windows and wrong path for .ssh/config file

I installed Git-1.7.9-preview20120201.exe, and when I try to access my repository via SSH it failed. I investigated and found that if I run SSH -T git@myrepo.com, SSH doesn’t load ~/.ssh/config where a custom port is defined. When I try SSH -F c:\users\tomas\.ssh\config git@myrepo.com everything is OK. I used Process Monitor and found that SSH is […]

Git enter long passphrase for every push

Every time I try to push anything to GitHub it asks me the address git@github.com:… and after that it wants the passphrase. Is there a way to automate this? I am using Linux Ubuntu.

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