Using Mac Terminal to connect your ECS

1. Find your Internet IP

 Find your Internet IP
You are expected to find your Internet IP in Instances --> IP address

2. Open your Mac Terminal using the following command

  1. Input your username and ip with ssh command

ssh + space+[username] + @+ [Internet IP Address]

  1. Input your password

NB: The process of inputing password is invisible

// An example
Last login: Thu Jul 25 21:26:58 on ttys000
Yao:~ mac$ ssh root@47.277.81.23
root@47.277.81.23's password: 
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage


Welcome to Alibaba Cloud Elastic Compute Service !

Last login: Fri Jul 26 04:22:40 2019 from 171.128.107.223
root@Yao:~# 

3. Now, You have successfully got your ECS connected

猜你喜欢

转载自blog.csdn.net/flavioy/article/details/97348879