Connection Failure

Run the following command to remotely log in to the ECS:

netstat -anp | grep 22

If the obtained value is not the port number of the database service, rectify the port number.

The port number of the sshd service is 22.