Tag: ssh

Github (SSH) via public WIFI, port 22 blocked

I’m currently on a public WIFI spot and I’m unable to use SSH (they probably blocked that port). However, I need that connection to do a git push. ➜ ssh -T git@github.com ssh: connect to host github.com port 22: Connection refused Is it possible to bypass this restriction by setting up a SSH tunnel via […]

BitBucket: Host key authentication failed

I want to clone a remote repository to my local machine. I used the command: git clone git@bitbucket.org:<username>/<repo_name>.git and I got the message: The authenticity of host ‘bitbucket.org (’ can’t be established. RSA key fingerprint is SHA256:****. Are you sure you want to continue connecting (yes/no)? Host key verification failed. fatal: Could not read from […]

git – Server host key not cached

I try to push changes from my local repo to a remote repo. When I type: git push origin I get the following error: The server’s host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server’s rsa2 key fingerprint is: ssh-rsa […]

Start ssh-agent on login

I have a site as a remote Git repo pulling from Bitbucket.com using an SSH alias. I can manually start the ssh-agent on my server but I have to do this every time I login via SSH. I manually start the ssh-agent: eval ssh-agent $SHELL Then I add the agent: ssh-add ~/.ssh/bitbucket_id Then it shows […]

SSH Agent Forwarding with Ansible

I’m using Ansible 1.5.3 and Git with ssh agent forwarding (https://help.github.com/articles/using-ssh-agent-forwarding). I can log into the server that I am managing with Ansible and test that my connection to git is correctly configured: ubuntu@test:~$ ssh -T git@github.com Hi gituser! You’ve successfully authenticated, but GitHub does not provide shell access. I can also clone and update […]

'ssh-keygen' is not recognized as an internal or external command

I run git push -u origin master It tells me that “Permission denied (public key) fatal: The remote end hung up unexpectedly” Then I looked up on the internet and found that I had to generate an ssh key for my account on GitHub. However, upon doing so, when I tried to do ssh-keygen -t […]

Git submodules and ssh access

I have some trouble with a git repository that contains several submodules. The super git repository was constructed with the commands mkdir projectname cd projectname git init git submodule add ssh://myusername@server/pathtorepos When a different user (“otheruser”) then clones the super repository everything seems to work out. But when it is time to get access to […]

MSysGit and ssh config. missing

1) Run Git Bash (C:\Program Files (x86)\Git\bin\sh.exe –login) $ ssh -v git@github.com OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /c/Users/Alexander Fedorov/.ssh/config debug1: Applying options for github.com debug1: Connecting to github.com [] port 22. debug1: Connection established. … Hi xpoft! You’ve successfully authenticated, but GitHub does not provide shell access. … Okay! ssh […]

Git with SSH on Windows

I’ve went through the excellent guide provided by Tim Davis which is about configuring Git to work with SSH under Windows in order to produce a Git Server in order to have a main place for my DVCS. I am in the process of creating a clone for my project. I’ve went through all the […]

git push via cron

I’m trying to run a git push from cron. When I do the command interactively on the shell it’s going through fine. When running the command from my user’s crontab, cron delivers the error message Permission denied (publickey). I presume it hasn’t to do with finding or reading my ~/.ssh/id_rsa, as I can cat the […]

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