title: SSH-ing to Google Compute Engine instance through Mac OS X terminal
body: <p>I have created an instance on Google Compute Engine, but I can't seem to SSH using the terminal. The command that I used was :</p>
  
  <pre>
  gcloud compute ssh example-instance
  </pre>
  
  <p>The error that I got was:</p>
  
  <pre>
  ERROR: (gcloud.compute.ssh) Could not SSH to the instance.  It is possible that your SSH key has not propagated to the instance yet. Try running this command again.  If you still cannot connect, verify that the firewall and instance are set to accept ssh traffic.
  
  </pre>
  
  <p>When I googled the error, I was led to this link:<a href="https://stackoverflow.com/questions/28653038/unable-to-ssh-to-google-cloud">Unable to SSH to Google Cloud</a></p>
  
  <p>I went and checked the firewall rules here <a href="https://cloud.google.com/compute/docs/troubleshooting#ssherrors" rel="nofollow noreferrer">https://cloud.google.com/compute/docs/troubleshooting#ssherrors</a> and things seem fine. I also went onto ~/.ssh and checked for google_compute_engine and google_compute_engine.pub which indicate the presence of my private and public key. I was wondering what I should do next? Is this is a problem specific to Mac workstations?</p>
  
  <p>Any help would be really appreciated.</p>