Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Logging In to an ECS

Updated on 2022-12-14 GMT+08:00

This section describes how to remotely log in to an ECS in an MRS cluster using the remote login (VNC mode) function provided on the ECS management console or a key or password (SSH mode). Remote login (VNC mode) is mainly used for emergency O&M. In other scenarios, it is recommended that you log in to the ECS using SSH.

NOTE:

To log in to a cluster node using SSH, you need to manually add an inbound rule in the security group of the cluster. The source address is Client IPv4 address/32 (or Client IPv6 address/128) and the port number is 22. For details, see Virtual Private Cloud > User Guide > Security > Security Group > Adding a Security Group Rule.

Logging In to an ECS Using VNC

  1. Log in to the MRS management console.
  2. Choose Clusters > Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. On the Nodes tab page, click the name of a Master node in the Master node group to log in to the ECS management console.

  4. In the upper right corner, click Remote Login.

Logging In to an ECS Using a Key Pair (SSH)

Logging In to the ECS from Local Windows

To log in to the Linux ECS from local Windows, perform the operations described in this section. The following procedure uses PuTTY as an example to log in to the ECS.

  1. Log in to the MRS management console.
  2. Choose Clusters > Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. On the Nodes tab page, click the name of a Master node in the Master node group to log in to the ECS management console.
  4. Click the EIPs tab, click Bind EIP to bind an EIP to the ECS, and record the EIP. If an EIP has been bound to the ECS, skip this step.
  5. Check whether the private key file has been converted to .ppk format.
    • If yes, go to 10.
    • If no, go to 6.
  6. Run PuTTY.
  7. In the Actions area, click Load and import the private key file you used during ECS creation.

    Ensure that the private key file is in the format of All files (*.*).

  8. Click Save private key.
  9. Save the converted private key, for example, kp-123.ppk, to a local directory.
  10. Run PuTTY.
  11. Choose Connection > Data. Enter the image username in Auto-login username.
    NOTE:

    The image username for cluster nodes is root.

  12. Choose Connection > SSH > Auth. In the last configuration item Private key file for authentication, click Browse and select the private key converted in 9.
  13. Click Session.
    1. Host Name (or IP address): Enter the EIP bound to the ECS.
    2. Port: Enter 22.
    3. Connection Type: Select SSH.
    4. Saved Sessions: Task name, which can be clicked for remote connection when you use PuTTY next time
      Figure 1 Clicking Session
  14. Click Open to log in to the ECS.

    If you log in to the ECS for the first time, PuTTY displays a security warning dialog box, asking you whether to accept the ECS security certificate. Click Yes to save the certificate to your local registry.

Logging In to the ECS from Local Linux

To log in to the Linux ECS from local Linux, perform the operations described in this section. The following procedure uses private key file kp-123.pem as an example to log in to the ECS. The name of your private key file may differ.

  1. On the Linux CLI, run the following command to change operation permissions:
    chmod 400 /path/kp-123.pem
    NOTE:

    In the preceding command, path refers to the path where the key file is saved.

  2. Run the following command to log in to the ECS:

    ssh -i /path/kp-123.pemDefault username@EIP

    For example, if the default username is root and the EIP is 123.123.123.123, run the following command:

    ssh -i /path/kp-123.pem root@123.123.123.123
    NOTE:
    • path indicates the path where the key file is saved.
    • EIP indicates the EIP bound to the ECS.
    • The image username is root for cluster nodes.

Logging In to an ECS Using a Password (SSH)

Logging In to the ECS from Local Windows

To log in to the Linux ECS from local Windows, perform the operations described in this section. The following procedure uses PuTTY as an example to log in to the ECS.

  1. Log in to the MRS management console.
  2. Choose Clusters > Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. On the Nodes tab page, click the name of a Master node in the Master node group to log in to the ECS management console.
  4. Click the EIPs tab, click Bind EIP to bind an EIP to the ECS, and record the EIP. If an EIP has been bound to the ECS, skip this step.
  5. Run PuTTY.
  6. Click Session.

    1. Host Name (or IP address): Enter the EIP bound to the ECS.
    2. Port: Enter 22.
    3. Connection Type: Select SSH.
    4. Saved Sessions: Task name, which can be clicked for remote connection when you use PuTTY next time
      Figure 2 Clicking Session

  7. Click Window and select UTF-8 for Remote character set: in Translation.
  8. Click Open to log in to the ECS.

    If you log in to the ECS for the first time, PuTTY displays a security warning dialog box, asking you whether to accept the ECS security certificate. Click Yes to save the certificate to your local registry.

  9. After the SSH connection to the ECS is set up, enter the username and password as prompted to log in to the ECS.

    NOTE:

    The username is root and the password is the one you set during cluster creation.

Logging In to the ECS from Local Linux

If the local host runs Linux, perform steps 1 to 4 to bind an EIP to the ECS, and run the following command on the CLI to log in to the ECS: ssh EIP bound by the ECS

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback