I have read the GitHub questions here rather thoroughly, but couldn't find the clue to my problem. I have created new git repo and now I'm trying to push it to GitHub:
git remote add origin [email protected]:clergyman/first_app.git
git push origin master
I get:
FATAL ERROR: Disconnected: No supported authentication methods available
fatal: The remote end hung up unexpectedly
ssh [email protected]
works fine.
I'm running on 32 bits windows 7.
GitHub global settings are fine too. Any ideas?
I ran into the same error message trying to get Git, Git Extensions, and GitHub working with 64-bit Windows 7. I was able to solve the problem while continuing to use Putty.
I created a .profile file in C:\Users\MyUserName with the following contents:
GIT_SSH="/c/Program Files (x86)/Git/bin/ssh.exe"
Had to use "touch .profile" within git bash to create the file since Windows GUI chastises you for trying to create files starting with period.
Can't take credit. I just put a windows spin on the answer provided here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With