GCE: cannot login, The VM guest environment is outdated and only supports the deprecated 'sshKeys' metadata item

前端 未结 6 1585
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 02:45

I cannot ssh into my Google Compute Engine (GCE) Wordpress instance anymore. It was working one month ago when I tried last. I use the Google built-in SSH client in a Chrome bro

6条回答
  •  你的背包
    2021-02-20 03:36

    I met the similar issue after I created a FreeBSD VM, gcloud ssh not works, but I am lucky that I can use the browser window ssh to my VM. Then I manually add the google_compute-engine public key to the .ssh/authorized_keys, now it work, I can use the gcloud ssh to connect. But not sure if this is a better/security way.

提交回复
热议问题