GIT SSH connection issue

I am trying to access a remote repo from the GIT bash on Windows 8.

I have been through the steps detailed at https://serverfault.com/questions/194567/how-to-i-tell-git-for-windows-where-to-find-my-private-rsa-key which ensure GIT is using the right public/private key.

  • Unable to Git-push master to Github
  • Is there a way to import svn history into git after the fact?
  • No submodule mapping found in .gitmodules
  • How do I get the current “status” of a git bisect?
  • How do you reset the stored credentials in 'git credential-osxkeychain'?
  • Unable to rename a file in Git
  • Connecting and cloning a dir via https is not an issue. However doing so, means read/write/access rights on the files I push changes to gitlab/https only which means my team members cannot change the files.

    Connecting via SSH, I am asked firstly for the passphrase for the key stored at /c/Users/bwimbush/.ssh/id_rssa. After entering that, I am then asked for “git@remoteserver.com’s” password. I don’t understand why I am asked for this password?

    I can log into the git setup online using my google account, but that pw is not the pw it is asking for.

    Can anyone help me understand why connecting via https changes read/write/access rights on the files, or why it is asking me for “git@remoteserver.com”‘s password?

  • Accidentally deleted .git folder - can it be restored?
  • Rebase onto branch without common ancestor
  • Git Archive but first put all the files inside a folder then start archiving
  • “Index-pack failed”
  • git svn clone except a particular folder
  • Why am I getting an Application Error error page for my brand new app hosted by Heroku?
  • One Solution collect form web for “GIT SSH connection issue”

    Fire up Git bash window and run

    ssh -i /c/Users/bwimbush/.ssh/id_rsa -v git@remoteserver.com 'git --version'
    

    and see what it tells you about the authentication process taking place. (You could try adding more “-v”-s). Pay close attention to those messages involving the word “pubkey”.

    Does this print anything fishy?

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