错误4003:无法ssh登录到我在Google Cloud Platform中创建的实例

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误4003:无法ssh登录到我在Google Cloud Platform中创建的实例相关的知识,希望对你有一定的参考价值。

我正在使用gcp并创建了一个vm实例,但是我无法ssh进入计算机,这是我得到的错误

Connection via Cloud Identity-Aware Proxy Failed Code: 4003 Reason: failed to connect to backend

我搜索时是因为This might mean the instance isn't listening on the port you're trying to connect to or the firewall is closed.,所以我还添加了网络详细信息的图像。

enter image description here

答案

这可能不是一个完整的答案,但是至少您的防火墙规则不允许SSH端口上的连接。应该有一个入口规则,以允许流量通过该VPC网络上的TCP端口22(SSH)到达实例。

以上是关于错误4003:无法ssh登录到我在Google Cloud Platform中创建的实例的主要内容,如果未能解决你的问题,请参考以下文章

Google 帐户登录错误(双重身份验证)[关闭]

登录 ssh 时出现“权限太开放”

Google Play 服务 - Google 登录会产生网络错误

无法在 GitLab CE 上启用 Google 登录(omniauth)

错误:(gcloud.compute.ssh)无法获取资源:-权限不足

不能ssh到Google-Engine,循环连接