I just installed Gitab on an AWS machine. I spend a lot of time trying to find the source of Permission Denied (public key) error even after adding the right SSH key. It turned out that the SSH URL provided by the Gitlab Web Interface was wrong all along. It didn’t match the ec2 machine id. I just wanted to know why this happened and how can I modify this without tampering the gitlab.rb file. or is there something I did wrong while setting it up.