Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Push to Github Authentication Failure

Hi.

I am on the stage in the Rails Application tutorial about pushing to GitHub. After doing this step: git push -u origin master

It prompts my username. I then enter my username and then it prompts for my password. For some reason, Terminal (I am on a Mac) does not allow me to type any letters. If I try to push any button, nothing happens. So then when I hit enter, I get an 'Authentication Failed' notice. How can I just enter my password? Thank you

3 Answers

Try the mac app. http://mac.github.com

Did you enabled the keychain access as described by github for mac pushing ?

You don't get to see your password, because Terminal hides it from view. You'll have to type in your password without visual reference and then press enter. If you entered it correctly, the authentication should work!

This behaviour is meant to prevent other people from seeing your password by standing behind you.

@Yves I can't download the Mac app because I have OSX 10.6. I have emailed Github to see if I can download it there.

@Philipp: This did work, but then I got another error that said "src refspec master does not match any" and "failed to push some refs to 'https://github.com/rishimalhotra/treebook.git'"

Thank you!