Connect Nitrous.io to Bitbucket Git SSH Public Key

I can’t connect my Bitbucket git repos to Nitrous.io. Here is the error I get:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

At first I thought you had to have your computer’s public key in Nitrous and Bitbucket to connect them, but that doesn’t work. What am I missing?

  • Rsync to Google Compute engine Instance from Jenkins
  • Sync a git repository with three different origins on Github/Bitbucket
  • Setting up SSH keys for Bitbucket on Windows
  • Git pull fatal: Out of memory, malloc failed
  • Clone private git repo with dockerfile
  • git clone GnuTLS recv error (-9): A TLS packet with unexpected length was received
  • GitHub - Work on branch done, how to kill it?
  • git diff unique to merge commit
  • git push origin master:refs/heads/master what does this do
  • Cannot git diff. File exists in both branches but getting “fatal: Path '…' exists on disk, but not in 'master'”?
  • Gitflow Release Tagging Model Creates A Dilemma
  • Received HTTP code 302 from proxy after CONNECT While cloning a bitbucket repository
  • One Solution collect form web for “Connect Nitrous.io to Bitbucket Git SSH Public Key”

    All you have to do is:

    Go to your nitrous box (IDE or Terminal), and run this:

    cat ~/.ssh/id_rsa.pub
    

    which will display the Nitrous SSH public key (not your computer’s public key, but the one for that box).

    Go to Bitbucket > My Account > SSH Keys and paste the Nitrous key in. Be sure to name it Nitrous or something like that so you know what key it is later. Then your repos will connect just fine.

    Git Baby is a git and github fan, let's start git clone.