Forums

fatal: could not create work tree dir 'qbuster': Permission denied

Hi,

im following instructions on how to use code from vcs https://help.pythonanywhere.com/pages/ExternalVCS

I created the ssh key in the console:

12:49 /home $ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/certifit/.ssh/id_rsa): 
Created directory '/home/certifit/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/certifit/.ssh/id_rsa
Your public key has been saved in /home/certifit/.ssh/id_rsa.pub

Then I copied the contents of the id_rsa.pub and pasted as an SSH key in my github account. Then I ran the below command and got an error:

13:08 /home $ git clone git@github.com:gittycodes/qbuster.git
fatal: could not create work tree dir 'qbuster': Permission denied

Can someone explain what Im doing wrong?

You need to do it in your home directory, so /home/certifit not /home