# Cloning Trellis Fails Saying "Please make sure you have the correct access rights and the repository exists."

**URL:** https://discourse.roots.io/t/cloning-trellis-fails-saying-please-make-sure-you-have-the-correct-access-rights-and-the-repository-exists/13018
**Category:** trellis
**Tags:** trellis
**Created:** 2018-07-24T13:44:28Z
**Posts:** 3

## Post 1 by @Pratirup — 2018-07-24T13:44:28Z

I get this error message  
"$ git clone --depth=1 [git@github.com](mailto:git@github.com):roots/trellis.git && rm -rf trellis/.git  
Cloning into ‘trellis’…  
[git@github.com](mailto:git@github.com): Permission denied (publickey).  
fatal: Could not read from remote repository.

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

When I try to clone tellis :frowning:  
I am new to roots and everything else roots relies on

---

## Post 2 by @alwaysblank — 2018-07-24T14:22:24Z

By using the `git@github.com` repo address you’re trying to connect to github via SSH, and whatever SSH credentials you have don’t authenticate with github. Try using the `https` repo address to clone instead.

---

## Post 3 by @Pratirup — 2018-07-24T14:51:01Z

thanks i didnt have a ssh key which i had to configure on my account in github thanks :slight_smile:
