title: Unable to access bitbucket from remote server using SSH key to perform a git pull on latest code in repository
body: <p>I'm trying to pull the latest code on bitbucket into a development (Ubuntu) server using the git pull command.  The git pull command attempts to access bitbucket as root user via a SSH connection, but also asks for a paraphrase pertaining to the SSH.  The root/.ssh folder on the Ubuntu server contain id_rsa and id_rsa.pub files, but I'm unable to add the pubic key from id_rsa.pub to bitbucket because apparently that key is being used by someone else.  I also don't know the paraphrase pertaining to this SSH key.  So couple of questions:</p>
  
  <ol>
  <li>How is the remote server connecting to the bitbucket repository via SSH when I'm unable to add the SSH public key to bitbucket?</li>
  <li>Should I instead create a new SSH key in the Ubuntu server and try to add that (the public key part) to bitbucket, then access bitbucket using the new key?</li>
  <li>If I don't have the paraphrase that the server keeps prompting me to enter after typing the git pull command, what's the best approach to pulling code from the repository?  Here are a few I can think of, but appreciate guidance on the best approach:</li>
  </ol>
  
  <p>A) Create new SSH key (with or without a paraphrase, though i think having a paraphrase is safer), add the new public key to bitbucket, then attempt to pull code off bitbucket via SSH.  I would think that the server will still try to access bitbucket as root user, not as the username I use to log into the server.  This of course will require me to first get read-write-execute privileges to the /root and /root/.ssh folders (on my server, I've disabled root user's ability to log in).</p>
  
  <p>B) Using the existing SSH key (which I'm unable to add to bitbucket as mentioned above) to access bitbucket as a different user (not root user, but perhaps the username I use to log into the Ubuntu server?)  In order to pull code off the bitbucket repository using this approach, would I first have to set a SSH key under my home directory (/home/myusername/.ssh)on the Ubuntu server?</p>