Logging in to Clusters

Last updated: 2020-04-03 15:33:44

    Logging in Through a Remote Login Tool (on Windows)

    This section uses Xshell as an example to describe how to log in to an EMR cluster with a password by using a remote login tool on Windows.

    Applicable OS

    Windows

    Logging in with a password

    1. Download PuTTY (a remote login tool on Windows) here and install it.
    2. Launch the PuTTY client, enter the following in the PuTTY Configuration window, and click Open to create a session as shown below:
      • Host Name: The public IP address of the EMR cluster, which can be viewed on the list page or details page in the EMR Console.
      • Port: The port number of the CVM instance, which has to be 22. (Please make sure that the port 22 in the CVM instance is opened. For more information, please see Security Group and Network ACL).
      • Connect type: Select SSH.
    3. In the PuTTY session window, enter the obtained admin account and press Enter.
    4. Enter the obtained login password and press Enter to log in as shown below:

    Log in Through SSH (on Linux or macOS)

    This section describes how to log in to an EMR cluster through SSH on Linux or macOS.

    Applicable OS

    Linux or Mac OS

    Logging in with a password

    1. On macOS, launch Terminal and run the following command. On Linux, run the following commands directly:
      ssh <username>@<hostname or IP address>
      • username: The admin account, such as root.
      • hostname or IP address: The public IP address or custom domain name of your EMR cluster.
    2. Enter the obtained password (only the input but not the output is displayed here) and press Enter to log in.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help