1

I successfully installed git bash on my windows 7, and it worked for quite a few days. But in the recent days I'm always getting the same error:

Disconnected: No supported authentication methods available. 

Running the command "ssh [email protected]", I get a success message:

Hi xxxx, You've successfuly authenticated. but Github does not provide shell access.

I checked the .profile, the GIT_SSH is set to the ssh.exe come along with git bash like this:

GIT_SSH = "/d/progra~1/git/bin/ssh.exe"

However, I noticed that every time I open git bash, there's an error message:

sh.exe": GIT_SSH: command not found

As a result, I see the TortoisePlink.exe is still in use.

Any advice is appreciated!

1 Answer 1

0

A workaround would be to use https addresses for GitHub repo (https://github.com/username/yourRepo), and putting your GitHub credentials in a %HOME%/_netrc file: see "Syncing with github".

The other alternative would be to check out http://windows.github.com, and see if that setup works.
It will create its own ssh public/private keys and register them on your account.

Note that this answers suggests:

GIT_SSH="/usr/bin/ssh.exe"

(ie a unix-like path)

1
  • GitHub for Windows is simply great!
    – sogno
    Aug 9, 2012 at 11:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.