My server can't connect to ssh, please deal with it

19 views
Skip to first unread message

fbghdfn gnvhmn

unread,
Dec 21, 2020, 12:29:16 PM12/21/20
to Google App Engine
My server can't connect to ssh, please deal with it  

Elliott (Cloud Platform Support)

unread,
Dec 21, 2020, 1:44:01 PM12/21/20
to Google App Engine

Hello,

I am assuming you are using a Google Compute VM instance. Please correct me if I’m wrong. 

The first thing you can check is to ping your instance. Pinging the server excludes an error in 

networking. You may ping your server with the command without the quotes and replace the [ip 

address] with that of your server:

“ping [ip address of server]”

If it is successful, that means the server is online. If it is not, please check to see if your server 

is running in the Google Cloud Console[1].

The next step is to check your firewall settings. An explanation may be that there is an issue 

with firewall rules. Perhaps the rule that allows SSH connections is either disabled or deleted in 

the Cloud Console. You may check existing rules by the command using the Google Cloud 

SDK without the quotes:

“gcloud compute firewall-rules list”

Another scenario may be that there is a firewall rule on your premises that is preventing the 

connection.

Depending on the error message, I’ve found a document here that describes troubleshooting 

steps[2].

Again, this is the advice I can give at this moment.

I hope this helps.



Reply all
Reply to author
Forward
0 new messages