We have setup a EC2 build server and would like to use SSH keys to clone the repo.
cd ~/.ssh ssh-keygen -t rsa
host bitbucket.org HostName bitbucket.org IdentityFile ~/.ssh/bitbucket_rsa User git
Loaded public ssh key on bit bucket:
ssh-rsa ...key... ec2_user@ip-censored
git clone https://email@example.com/user/repo.git
It ask for password. What should we check or do to see where we are going wrong?