1. I generated pub,private keys using command : ssh-keygen -t rsa -b 4096
on my unix server
2. Then copied the contents of .pub file to butbucket ssh-keys section
3. Then tried to clone the repository on this unix server by issueing below commands
eval `ssh-agent`
ssh-add id_rsa
Identity added: id_rsa
git clone git@bitbucketserver.org:username/repo.git
git@bitbucketserver.org's password:
But it is asking for password?
The unix server username is different from my bit bucket user name.As Unix user is a common user(ec2-user) which is used by all users.While bit bucket user is individual for each user.Can it be a issue.
Please let me know what am I missing.