Tag: ssh

Change Git remote repository password

I’ve got a Git remote repo installed on a VPS. All the (physical) users of this git use the same user/password, and I would like to change the password. In order to clone the git repository we use ssh like that : – git clone -v “ssh://myuser@my.adresse.ip/my/user/my-project” then I type the password associated with myuser […]

How to fix Cygwin using wrong .ssh directory no matter what I do?

On my Cygwin machine $HOME is cygwdrive/c/Users/me (i.e. not the sometimes default of /home/me) which I appreciate. However, when I am using git, and trying to use ssh keys, it always checks in /home/me/.ssh for my keys. To get around this, I tried this solution however, putting a config file in ~/.ssh doesn’t work because […]

Can't authenticate to a github repo which I own

I have an open-source project called ui-animate which I wanted to update today and from the console I’m getting the message: Permission denied (publickey). fatal: Could not read from remote repository. That’s odd for all sorts of reasons: I have setup this computer’s SSH key to authenticate me I can authenticate against other repos with […]

Kali linux “could not resolve host github.com” error

I am attempting to download Discover Scripts and have been using git clone https://github.com/leebaird/discover.git as my command. Upon running, it returned: git clone https://github.com/leebaird/discover.git Cloning into ‘discover’… remote: Counting objects: 4217, done. remote: Compressing objects: 100% (34/34), done. error: RPC failed; result=56, HTTP code = 200 | 445.00 KiB/s fatal: The remote end hung up […]

git fails to clone: The remote end hung up unexpectedly

I’m using bitbucket for my team project. The problem only appeared after I deleted the local repository (because it wouldn’t let me commit changes, but that’s another story). But when i cloned for the first time, it did work (I used the HTTP URL). Currently, when I try to clone using the Visual Studio’s team […]

Xcode – Authentication failed error when adding repository with SSH auth

I am trying to add repository via Xcode > Settings > Accounts and I am stuck on the proper address. Address of our repo is quite simple: my.domain.com:port/project-name. Authentication via SSH Keys. Could someone help me to understand what’s going on here? See screenshot below. By the way running git clone git+ssh://git@my.domain.com:port/project-name works fine. EDIT […]

How to get git clone working with ssh?

I am a gitnewbie trying to clone my githubrepo with ssh. I followed these steps: https://help.github.com/articles/generating-an-ssh-key/. Working in a proxy environment so got a gut feeling it might be related to this. When I go:git clone git@github.com:myuser/myrepo.git, i get this error: ssh: connect to host github.com port 22: Connection timed out How can I fix […]

Pushing to multiple github account

I’m in a situation where I currently required to push to multiple github accounts. For simplicity let’s take two accounts. https://github.com/user1/repositoryName https://github.com/user2/repositoryName I used to work with user1, which is my personal account. User2 is my work account. Now, when I did git push to my work account: remote: Permission to user2/repositoryName.git denied to user1. […]

Why can't I see my bitbucket commits?

I am working on a repo on bitbucket. I cloned my project on an other laptop (I have 2 ssh keys on my account) and since I have added the second ssh key, I can’t see my commits from the first laptop . when I do git push feature feature/353 I get the following error: […]

How to install Lambda function on AWS?

Ok, I’m new to working with Amazon Web Services and everything seems like a big mess and I’m not sure which way to go at this point. What I’m trying to do is resize the images uploaded to a S3 bucket using a Lambda function. For this I have found an AWS Lambda Function to […]

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