简体   繁体   中英

Google Cloud Platform - Unable to SSH to VM

We are unable to SSH in to a GCP VM which was working well until 2 days ago. When we try to SSH in from the GCP console, the console literally stays on this screen forever.

在此处输入图像描述

When attempting to connect via a putty client from my local machine, I got the error: "No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)"

The firewall / ingress rules look good. I remember updating a docker image on the VM which required some dependencies to be updated including OpenSSL. We suspect this could be causing this, but have no way of confirming / undoing what we did.

Any idea how we can get around this problem?

I have experience delays when connecting to my instances using the SSH feature in GCP, usually it resolves after waiting a few minutes and try again, worst case I need to reboot. As mentioned in another comment you can use other methods to connect to your instance (linux ssh, putty)

Your error No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)" must be due not having OS Login enabled which is a requirement to use these methods

If you continue experiencing this issue I suggest you to share your serial console logs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM