我刚刚在bitbucket上创建了git repo.然后我按照以下方式创建ssh密钥:
1. ssh-keygen -t rsa -C 'dien.vo@asnet.com.vn'
2. ssh-keygen (press enter more)
3. cat ~/.ssh/id_rsa.pub --> it return for me a SSH key
4. Coppy that and added on bitbucket, then I save the new SSH key
Run Code Online (Sandbox Code Playgroud)
之后我选择了SSH链接git git@bitbucket.org:DienVo/abc.git,但是在终端中显示了这一点
sign_and_send_pubkey: signing failed: agent refused operation
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)
我不知道我错在哪里,请帮我解决.