Tag: ssh

Git: access a remote repository over ssh using a key file but without using ~/.ssh/config

Is it possible to access (fetch/push) a remote repository using ssh and an identity file (with the private key) without adding an entry in the file ~/.ssh/config such as: Host tingle HostName 111.222.333.444 User git IdentityFile c/tmp/my_id_rsa Everything works fine when configuring the ~/.ssh/config file. However we have a script which clones from a remote […]

Bitbucket git push ssh “conq: invalid repository syntax.”

I cannot git push to my Bitbucket for some reasons. It used to work but it do not work anymore and I can’t figure why. $ git push ssh://git@bitbucket.org:MyUser/MyGit.git conq: invalid repository syntax. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I generated […]

How to resolve a timeout exception when TeamCity fetches changes from a SSH Git repository

I’ve moved a Git repository from a shared folder on the network to a SSH server running gitolite. I’ve added a public/private key for TeamCity to use and pointed the VCS root at it. This all works OK as Test Connection is successful and my build configuration shows the pending changes. However, when TeamCity attempts […]

Can git work via ssh port forwarding?

My situation is, I can ssh to ComputerB (Code repos) where git repos is put. But my local connection is too slow to clone the code. And I can ssh to another machine (ComputerA) which is faster, so I want to clone the code through ComputerA. This is what I did: ssh tunnel ssh tunnel […]

Can't git fetch through SSH

I’ve setup a git repository one a remote server. Now I’m trying to checkout from it with: git fetch ssh://username@url.com/~username/workfolder/ but I get an error: fatal: Not a git repository What am I doing wrong? Could it be the server does not support Git+SSH?

Powershell takes a long time to load on start-up while loading ssh-agent / git

I have Powershell set to use posh-git through Git for Windows. In my profile file I have this: # If Posh-Git environment is defined, load it. . (Resolve-Path “$env:LOCALAPPDATA\GitHub\shell.ps1”) . $env:github_posh_git\profile.example.ps1 Every time I open Powershell it requests the passphrase for my id_rsa key. That’s fine but it takes longer and longer to actually display […]

How to install git repository on Bluehost

I’ve tried pretty much anything I could find on Google, if you enter: bluehost git repository all of the results on first page and some on second, I’ve tried. Also I’ve tried this very useful tutorial but not to much help, 8 ways to share your git repository So far this is what I got. […]

.ssh/id_rsa failed: permission denied

I have been scanning the web/SO and read several permission denieds plea’s for help I just cant find one that solves my issue in a way i understand. I’m following these instructions (Getting Started with Python on Heroku/Cedar). Everything went alright until: drewverlee@ubuntu:~/helloflask$ source venv/bin/activate (venv)drewverlee@ubuntu:~/helloflask$ git push heroku master The authenticity of host ‘heroku.com […]

Connect Nitrous.io to Bitbucket Git SSH Public Key

I can’t connect my Bitbucket git repos to Nitrous.io. Here is the error I get: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. At first I thought you had to have your computer’s public key in Nitrous and Bitbucket to […]

Jenkins git plugin with ssh access to bitbucket: Permission denied (publickey). fatal: Could not read from remote repository

I cannot get Jenkins git plugin to authenticate with a private git repo on bitbucket.org. I have generated a private / public key pair using ssh-keygen and set the public key in my bitbucket account under ssh keys account page. In the job configure page I have set the Source Code Management section as follows: […]

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