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.

JavaScript Building a MEAN Application Introduction to the MEAN Stack Setting Up an Express Application

Can't clone the repo for this course

I'm trying to follow along but get the following when I try to clone the repo:

āžœ  public git clone git@github.com:treehouse/angular-basics.git .
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

2 Answers

Ken Howard
Ken Howard
Treehouse Guest Teacher

Huston uses the SSH method of cloning a repository. This allows you to clone the repo without entering a username and password.

You could try cloning the repository using HTTPS instead which will ask you for your GitHub username and password.

git clone https://github.com/treehouse/angular-basics.git .
Radha Bhambwani
Radha Bhambwani
10,182 Points

It did not ask me for my username and password when I did this...

Tobi Sam
Tobi Sam
438 Points

Thanks @Ken that worked :)

git clone https://github.com/treehouse/angular-basics.git .