title: Configuring ssh runner for gitlab ssh denied
body: <p>I'm trying to set up a simple gitlab CI for an angular project</p>
  
  <p>I just made a runner on staging server. </p>
  
  <p>Here is an extract of config.toml in /etc/gitlab-runner</p>
  
  <pre><code>  name = "awsTest10"
    url = "http://gitlab.XXXXXXX/ci"
    token = "XXXXXXXXXXXXXXXXXXXXX"
    executor = "ssh"
    [runners.ssh]
      user = "root"
      host = "ec2-XX-XX-XX-XX.eu-west-1.compute.amazonaws.com"
      port = "22"
      identity_file = "/root/.ssh/id_rsa"
    [runners.cache]
  </code></pre>
  
  <p>I created a ssh key with root and I copied the public part in gitlab deploys keys. I made ssh-add before.</p>
  
  <p>When I use the runner I have the following result :</p>
  
  <pre><code>Running with gitlab-ci-multi-runner 1.11.1 (a67a225)
    on awsTest10 (e1ce142d)
  Using SSH executor...
  ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
  Will be retried in 3s ...
  Using SSH executor...
  ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
  Will be retried in 3s ...
  Using SSH executor...
  ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
  Will be retried in 3s ...
  ERROR: Job failed (system failure): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
  </code></pre>
  
  <p>Thanks for help</p>