1. Right-connected property ----
2. User Authentication
Click Browse, the next step, the next step
Free to set a password, the next step, the back log in using
3. Enter Ali cloud -> Control Panel -> Network and Security -> key pair
4. Create a key pair, import existing key pair, the public key generated above copied into, determination
5. Binding key
6. Binding XShell then enter the password previously set, connection
7. At this point may appear "selected user key is not registered on the remote host", then permission issues
8. Ali cloud remote connection server
9. If the server did not buy a new set your password need to reset the password reboot to take effect
10. Use the root user login server
```
chmod 700 .ssh
cd .ssh
chmod 600 *
service sshd restart
```
11. Click Connect to return XShell
![1572630266790](https://img2018.cnblogs.com/blog/1539503/201911/1539503-20191110135458867-85783999.png)