{"action":"created","issue":{"url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/310","labels_url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/310/comments","events_url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/310/events","html_url":"https://github.com/docker/hub-beta-feedback/issues/310","id":102864367,"number":310,"title":"Automated build with private bitbucket repo not working","user":{"login":"mc388","id":2600346,"avatar_url":"https://avatars.githubusercontent.com/u/2600346?v=3","gravatar_id":"","url":"https://api.github.com/users/mc388","html_url":"https://github.com/mc388","followers_url":"https://api.github.com/users/mc388/followers","following_url":"https://api.github.com/users/mc388/following{/other_user}","gists_url":"https://api.github.com/users/mc388/gists{/gist_id}","starred_url":"https://api.github.com/users/mc388/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc388/subscriptions","organizations_url":"https://api.github.com/users/mc388/orgs","repos_url":"https://api.github.com/users/mc388/repos","events_url":"https://api.github.com/users/mc388/events{/privacy}","received_events_url":"https://api.github.com/users/mc388/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-24T18:46:47Z","updated_at":"2015-09-06T20:33:58Z","closed_at":null,"body":"Hi,\r\n\r\nI connected my bitbucket account with docker hub. Then I created a new automated build repo and select a private repo from bitbucket.\r\n\r\nIf I trigger the build process I always get an error\r\n\r\n```\r\nFailed to clone repository: Cloning into '/tmp/build_bf3cnrq5mbtf9zwgnhebtam'... Warning: Permanently \r\nadded the RSA host key for IP address '131.103.20.167' to the list of known hosts. Permission denied \r\n(publickey). fatal: Could not read from remote repository. Please make sure you have the correct access \r\nrights and the repository exists.\r\n```\r\n\r\nIf I switch the bitbucket repro from private to public, it works fine."},"comment":{"url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/comments/138123870","html_url":"https://github.com/docker/hub-beta-feedback/issues/310#issuecomment-138123870","issue_url":"https://api.github.com/repos/docker/hub-beta-feedback/issues/310","id":138123870,"user":{"login":"spiddy","id":367397,"avatar_url":"https://avatars.githubusercontent.com/u/367397?v=3","gravatar_id":"","url":"https://api.github.com/users/spiddy","html_url":"https://github.com/spiddy","followers_url":"https://api.github.com/users/spiddy/followers","following_url":"https://api.github.com/users/spiddy/following{/other_user}","gists_url":"https://api.github.com/users/spiddy/gists{/gist_id}","starred_url":"https://api.github.com/users/spiddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiddy/subscriptions","organizations_url":"https://api.github.com/users/spiddy/orgs","repos_url":"https://api.github.com/users/spiddy/repos","events_url":"https://api.github.com/users/spiddy/events{/privacy}","received_events_url":"https://api.github.com/users/spiddy/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T20:33:58Z","updated_at":"2015-09-06T20:33:58Z","body":"same problem for me too."}}