弹性云服务器 ECS-远程登录Linux弹性云服务器(SSH密码方式):本地使用Linux操作系统

时间:2023-11-03 10:57:01

本地使用Linux操作系统

如果本地主机为Linux操作系统,您可以在计算机的命令行中通过以下操作登录弹性云服务器

  1. 在您的linux计算机的命令行中执行如下命令,登录弹性云服务器

    ssh xx.xx.xx.xx

    xx.xx.xx.xx表示弹性云服务器绑定的弹性公网IP

  2. 根据界面提示信息,验证远程主机SSH指纹,并输入“yes”。
    The authenticity of host 'xx.xx.xx.xx (xx.xx.xx.xx)' can't be established.
    ECDSA key fingerprint is SHA256:rnKuzrUSYS03MCoaxxxxxxxxxxxxxxxxxxxxxxxxxxx.
    ECDSA key fingerprint is MD5:cf:64:5b:5e:74:30:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
    Are you sure you want to continue connecting (yes/no)? yes                
    Warning: Permanently added 'xx.xx.xx.xx' (ECDSA) to the list of known hosts.
  3. 根据界面提示,输入待登录的弹性云服务器的密码,完成登录操作。
    root@xx.xx.xx.xx's password: 
    
            Welcome to Huawei Cloud Service
support.huaweicloud.com/usermanual-ecs/zh-cn_topic_0017955633.html