Skip to content

Permission denied (publickey) #98

@infografik

Description

@infografik

Error Output:
Warning: Permanently added the RSA host key for IP address 'Bitbucket IP6' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights the repository exists.

  1. The same operation (clone) is succesful, with identical command:
    git clone -q -b master git@bitbucket.org:my_space/my_repo.git /dir/repo
  2. Troubleshooting Connection Issues to Remote SSH Servers - ready
  3. Keys added to Bitbucket (local and remote) and Bitbuctet to my both

The reason for the failure given in the message is incorrect!


Solved:
the key must be named id_rsa and not another_rsa

Please add this information to the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions