What Can I Do If I Cannot Remotely Log In to a Server via SSH?

Symptoms

You can log in to a server via the console but not via SSH.

Possible Causes

Solution

  1. Check whether your login IP address was blocked because it was regarded as a source of brute-force attacks.

    • If yes, perform the following steps:
      1. Log in to the console.
      2. In the navigation pane, choose Detection > Alarms.
      3. Select the Server Alarms tab. Click the View Details in the Blocked IP Addresses area. The Blocked IP Addresses page is displayed.
      4. Select the target attack source IP address and click Unblock above the list to unblock the IP address.
    • If your login IP address was not blocked for this reason, go to 2.

  2. Check whether your login IP address is blocked because it is not whitelisted and the SSH login IP whitelist is enabled.

    • If your login IP address was not blocked for this reason, add the IP address to the SSH login IP address whitelist.
    • If your login IP address was not blocked for this reason, contact technical support.