【发布时间】:2018-10-15 11:59:16
【问题描述】:
我无法通过浏览器或 gcloud 使用 ssh 访问我的谷歌云计算引擎实例。我的用户帐户具有所需的compute.instances.osLogin 权限(实际上它具有Owner 角色)并且我已将enable-oslogin 设置为TRUE。
浏览器报错:
You do not have sufficient permissions to SSH into this instance. You need one of compute.instances.setMetadata, compute.projects.setCommonInstanceMetadata or compute.instances.osLogin (with OsLogin enabled) and iam.serviceAccounts.actAs.
gcloud 中的错误:
ERROR: (gcloud.compute.ssh) User [my-email@gmail.com] does not have permission to access user [my-email@gmail.com:importSshPublicKey] (or it may not exist): The caller does not have permission
我什至对新创建的实例也有问题。
【问题讨论】:
-
这也没有为我解决问题stackoverflow.com/questions/49384500/…
标签: google-cloud-platform google-compute-engine gcloud