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 id_rsa.pub
4. Try and clone the repo into the server!
$ git clone firstname.lastname@example.org:username/project-name.git
If your getting permission denied, make sure you have write permission to the folder.