git clone on remote server (bitnami)

1. Find the .ssh directory
-make sure always use absolute

$ cd /home/bitnami/.ssh


2. Generate public and private keys on the server



3. Copy the public key to your repo settings (bitbucket/github)

$ cat


4. Try and clone the repo into the server!

$ git clone

If your getting permission denied, make sure you have write permission to the folder.