title: GitLab Error: Connection Refused
body: <p>I have a cloud server from Digital Ocean that is hosting <code>GitLab</code>.</p>
  
  <p>Whenever I try to create a repository and push it to GitLab, I am getting the following error  :</p>
  
  <blockquote>
    <p>ssh: connect to host localhost port 22: Connection refused<br>
    fatal: The remote end hung up unexpectedly</p>
  </blockquote>
  
  <p>I am fairly new to git so I am confused why I keep getting this error. I also have generated and added my SSH key to GitLab. Here are the steps I take to create the repository (per GitLab's instruction):<br></p>
  
  <pre><code>mkdir test
  cd test
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@idAddress
  git push -u origin master
  </code></pre>
  
  <p>Any suggestions?</p>