[英]No ssh Connection to Google Cloud Instance
I cannot connect to my GCP VM through ssh.我无法通过 ssh 连接到我的 GCP VM。 It is not working either through terminal (which gives a timeout error) or through the browser (eternally loading)
它无法通过终端(会出现超时错误)或通过浏览器(永久加载)工作
With nmap, I found out that there is no ssh service provided on the external IP address of the machine用nmap,发现机器的外部IP地址上没有提供ssh服务
Host is up (0.076s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp closed http
443/tcp closed https
However, I do have the default-allow-ssh
rule in my firewall.但是,我的防火墙中有
default-allow-ssh
规则。 My question is what I should do now to have this ssh access.我的问题是我现在应该怎么做才能获得这个 ssh 访问权限。 Thanks in advance!
提前致谢!
You can find in the official documentation :您可以在官方文档中找到:
Test connectivity: Check your firewall rules, Test the network connection, Connect as a different user,
测试连接:检查防火墙规则,测试网络连接,以不同用户身份连接,
Debug the issue in the serial console
在串行控制台中调试问题
Inspect the VM instance without shutting it down
检查 VM 实例而不将其关闭
Use a startup script
使用启动脚本
Use your disk on a new instance
在新实例上使用您的磁盘
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.