0
私はビットバケットからgitプロジェクトをユーザwww-dataでpull/cloneしようとしています。展開キーが作成され、bitbucketのアクセスキーに追加されました。私がにアクセスしたサーバーの応答は、ですが、プルまたはクローンを試みると、のアクセスが拒否されました。。gitからssh経由でbitbucketにアクセス
[email protected]:~$ git clone [email protected]:project/repo.git
Cloning into 'repo'...
repository access denied. deployment key is not associated with the requested repository.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[email protected]:~$ ssh -T [email protected]
authenticated via a deploy key.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
This deploy key has read access to the following repositories:
project/repo: wwwdata2 -- [email protected]
上記の2つの 'project/repo'は、' git clone'とBitbucketがあなたにキーがアクセスできるリポジトリを教えてくれるところです。 – Chris
同じリポジトリのアクセスキーです。 – moledet