
# Linux云服务器登录方式概述
#### 约束与限制
- 只有运行中的云服务器才允许用户登录。
- Linux操作系统用户名"root"。
- 首次登录云耀云服务器，请先通过"重置密码"功能设置登录密码。
 
#### 登录方式概述
请根据需要选择登录方式，登录云服务器。
表1Linux云服务器登录方式一览 
| 云服务器操作系统 | 本地主机操作系统 | 连接方法                                                                                                                                                                                                                                                                                                                               | 条件                                                                                                                           |
|:---|:---|:---|:---|
| Linux    | Windows  | （推荐使用）使用控制台提供的CloudShell登录云服务器。 [使用CloudShell登录云服务器](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0066.html)。                                                                                                                                                                            | 云服务器绑定弹性公网IP。 （通过内网登录云服务器时可以不绑定弹性公网IP，例如VPN、云专线等内网网络连通场景。）  |
| Linux    | Windows  | 使用Putty、Xshell等远程连接工具登录云服务器。[下载Putty](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)。 [SSH密码方式登录Linux云服务器](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0012.html)。 说明： 使用Xshell远程连接工具时，请先在Xshell官网下载软件包。 | 云服务器绑定弹性公网IP。 （通过内网登录云服务器时可以不绑定弹性公网IP，例如VPN、云专线等内网网络连通场景。）  |
| Linux    | 移动设备     | 使用Termius、JuiceSSH等SSH客户端工具登录云服务器。 [在移动设备上登录Linux云服务器](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0013.html)。                                                                                                                                                                            | 云服务器绑定弹性公网IP。 （通过内网登录云服务器时可以不绑定弹性公网IP，例如VPN、云专线等内网网络连通场景。）  |
| Linux    | 移动设备     | 下载华为云APP连接云服务器。 [使用华为云APP连接Linux云服务器](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0081.html)                                                                                                                                                                                            | 云服务器绑定弹性公网IP。 （通过内网登录云服务器时可以不绑定弹性公网IP，例如VPN、云专线等内网网络连通场景。）  |
| Linux    | macOS系统  | 使用系统自带的终端（Terminal）： [macOS系统登录Linux云服务器](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0082.html)。                                                                                                                                                                                        | 云服务器绑定弹性公网IP。 （通过内网登录云服务器时可以不绑定弹性公网IP，例如VPN、云专线等内网网络连通场景。）  |
| Linux    | Windows  | 使用管理控制台远程登录方式：[远程登录（VNC方式）](https://support.huaweicloud.com/usermanual-hecs/hecs_03_0011.html)。                                                                                                                                                                                                                                    | 不依赖弹性公网IP。                                                                                                                   |
   
![](https://support.huaweicloud.com/usermanual-hecs/public_sys-resources/note_3.0-zh-cn.png)
登录过程中若出现无法登录云服务器情况时，请先参考以下常见问题进行排查解决。若通过排查后，仍然无法登录云服务器，请记录资源信息和问题时间，然后单击[提交工单](https://console.huaweicloud.com/ticket/#/ticketindex/createIndex)，填写工单信息，联系技术支持。
#### 常见问题
- [远程登录前需要做好哪些准备？](https://support.huaweicloud.com/hecs_faq/hecs_faq_0801.html)
- [远程登录忘记密码怎么办？](https://support.huaweicloud.com/hecs_faq/hecs_faq_0803.html)
- [远程登录时需要输入的账号和密码是什么？](https://support.huaweicloud.com/hecs_faq/hecs_faq_0802.html)
- [无法登录到Linux云服务器怎么办？](https://support.huaweicloud.com/hecs_faq/hecs_faq_0805.html)
 
