Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
6.3 KiB
Logging In to a Node
You can log in to the target ECS node for troubleshooting, monitoring its performance, or executing custom scripts.
Prerequisites
- Before you log in to a node using SSH, ensure the SSH port (22 by default) is enabled in the security group of the node.
- Before you log in to a node (an ECS) via SSH over the Internet, ensure the ECS already has an EIP bound.
- Only a running ECS can be logged in to.
- Only user linux can log in to a Linux server.
Login Modes
You can log in to an ECS in either of the following modes:
- Management console (VNC)
If an ECS has no EIP, log in to the ECS console and click Remote Login in the Operation column of the ECS.
For details, see Login Using VNC.
- SSH
This mode applies only to ECSs running Linux. You can use a remote login tool like PuTTY, Xshell, or SecureCRT to log in to your ECS. If none of the remote login tools can be used, log in to the ECS console and click Remote Login in the Operation column of the ECS to view the connection status and ECS status.
EIP Binding |
On-Premises OS |
Connection Method |
|---|---|---|
Yes |
Windows |
Use a remote login tool, such as PuTTY or Xshell.
|
Yes |
Linux |
Run commands.
|
Yes/No |
Windows/Linux |
Remote login using the management console: Login Using VNC |
