title: Cannot connect to Compute Engine instance via SSH in linux
body: <p>This question have answer before but that's for windows. But Now i am in linux.</p>
  
  <p>I messed up lot. Please help me to solve this issue.</p>
  
  <p>I created ssh pair using <code>ssh-keygen</code> command then i copied and pasted <code>id_rsa.pub</code> into <code>vminstace</code> <code>SSH Keys</code> and then saved. I issued below command but that's not going </p>
  
  <pre><code>gcloud compute --project "project001" ssh --zone "europe-west1-b" "instance-3"
  </code></pre>
  
  <p>Above command creates two file <code>google_compute_engine</code> and <code>google_compute_engine.pub</code> Then error is :</p>
  
  <pre><code>Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
  </code></pre>