Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby

problems with pushing to github

has anyone else come across this problem? I cant push to github, when i try to do the git push master origin command i get this error

Permission denied (publickey). fatal: The remote end hung up unexpectedly

anyone know how to solve this?

1 Answer

Eddie Flores
Eddie Flores
9,110 Points

Check this out. It helped me the first time that I saw that before. It's just most likely that your SSH key isn't the same from your computer to github.

https://help.github.com/articles/error-permission-denied-publickey

Also, are you doing this project from a windows, mac, or linux computer?