Can't Telnet or SSH to GCE Instance

323 views
Skip to first unread message

Jonathan Crow

unread,
Jan 31, 2017, 9:05:43 AM1/31/17
to gce-discussion
Recently I had to upgrade my disk size and now for some reason I can't connect anymore.

According to the console dashboard the GCE is up and running, however when I try to SSH it won't connect. I used gcloud to do:


telnet <public IP address> 22


and it can't connect.


I read about the firewall rules needed and so did a gcloud compute firewall-rules list and got:


default-allow-http      default  0.0.0.0/0      tcp:80                               http-server
default-allow-https     default  0.0.0.0/0      tcp:443                                 https-server
default-allow-icmp      default  0.0.0.0/0      icmp
default-allow-internal  default  10.128.0.0/9   tcp:0-65535,udp:0-65535,icmp
default-allow-rdp       default  0.0.0.0/0      tcp:3389
default-allow-ssh       default  0.0.0.0/0      tcp:22


According to the article this means the firewall isn't the issue.


Anybody have any ideas what to try next?

Faizan (Google Cloud Support)

unread,
Jan 31, 2017, 10:13:24 AM1/31/17
to gce-discussion
Hello Jonathan,

What steps did you take to upgrade your disk size? You can go through VM's serial console output to check if your instance has booted properly. If instance is not booting you can try to undo the changes using interactive serial console.

I hope that helps.

Faizan
Reply all
Reply to author
Forward
0 new messages