Tag: ssh

Making Git more secure: How to gen ssh keys in PKCS#8 format with the openssl.exe utility?

There is a nice essay that says the stock “ssh-keygen” creates an older, easier to crack private key, and that PKCS#8 is the way to go. So, instead of the stock ssh-keygen approach, I want to use a new “ssh-pkcs8-gen” approach…. (not for me, for the git users who hang off my git server). Everything […]

Remote Git pull using ssh results in Permission denied (publickey)?

I have a git repository in a hosted instance of Atlassian Stash. I then have three machines: olympus, zeus and hera where I deploy the latest release of a software system. To automate this I’d like to remotely deploy from olympus onto the other machines which I try to do using ssh and git pull […]

Git can pull fine but not push “could not read username”

I have been having this issue for a couple of days and I really don’t know what to do. I was pushing and pulling from a repository on github using git bash just fine for months; then, when their service went down temporarily, I reinstalled to make sure it wasn’t me. Now, I can pull […]

How can I have a graphical 'diff' for git when working locally and also use diff via SSH?

I currently use meld for git diff. I have configured it this way: I’ve added git-meld to /bin: #!/bin/bash meld “$2” “$5” made it executable chmod +x git-meld and added it to my git configuration: git config –global diff.external git-meld This works fine when I work locally. But when I’m logged in via SSH, I […]

Msysgit git no longer finds ssh keys

I have an older Windows XP laptop on which I recently upgraded git to 1.8.4.msysgit.0, in order to benefit from the new cmd\git.exe instead of the older cmd\git.cmd for scripts. After this upgrade, git asks for a password for its operations (such as cloning), where it did not before the upgrade. None the of the […]

Jenkins failing to fetch private repo from GitHub

I’ve been banging my head for hours now… This error isn’t budging. For the record: I tried: login jenkins in terminal, and that command displayed in red works. While logged in as jenkins, I can clone the repo without problems. The SSH keys are in place, and they show up in the ssh-add -l The […]

Failed to add the host to the list of known hosts – Accidentally removed all files from my .ssh folder

Noob here. I removed all the files from my /Users/fakename/.shh folder. The result is that now I can’t git clone a repository from beanstalk. When I try I get the error Failed to add the host to the list of known hosts Permission denied (public key). I am also having problems doing a SSH login […]

Cygwin SSH connection issue to BitBucket

Can you help with this Access Denied issue (Cygwin SSH BitBucket) I have copied my public key across to BitBucket. When I run the following ssh -vvvT git@github.com the output is… When I try to push code to BitBucket the command just hangs. OpenSSH_6.6.1, OpenSSL 1.0.1h 5 Jun 2014 debug1: Reading configuration data /etc/ssh_config debug2: […]

Enter passphrase for key /.ssh/id_rsa' after push

This question already has an answer here: Git enter long passphrase for every push 3 answers GitHub for Mac pops up “enter your password for the ssh key id_rsa” at startup each time 3 answers

Git: which key do I use (may not be by default)?

In my local environment (Mac OS X) I have at my home folder the .ssh folder, where there are two keys: github_rsa and id_rsa; in addition, there is a known_hosts file saying some like: github.com,192.30.252.131 ssh-rsa blahblah 192.30.252.129 ssh-rsa blahlllblahhhh … Is there a way (command line preferred) for me to know which key my […]

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