title: Error: The VM guest environment is outdated and only supports the deprecated 'sshKeys' metadata item. Please follow the steps here to update
body: <p>Every time I stop a VM Instance from VM instance details page or do </p>
  
  <pre><code>sudo reboot
  </code></pre>
  
  <p>from inside the vm </p>
  
  <p>When I try to connect to the vm using ssh I get this message</p>
  
  <p><strong>The VM guest environment is outdated and only supports the deprecated 'sshKeys' metadata item. Please follow the steps here to update.</strong></p>
  
  <p>How can I fix this error and connect to the vm?</p>
  
  <p>Ps:</p>
  
  <p><a href="https://cloud.google.com/compute/docs/images/configuring-imported-images#install_guest_environment" rel="nofollow noreferrer">the mentioned steps are at this page</a></p>
  
  <p>and I can't follow them because I can't connect to the vm</p>