Ali cloud server connection XShell

1. Right-connected property ----

1572629451206

2. User Authentication

1572629556082

Click Browse, the next step, the next step

1572629594936

Free to set a password, the next step, the back log in using1572629655016

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, determination1572629802957

5. Binding key1572629876787

6. Binding XShell then enter the password previously set, connection1572629946697

7. At this point may appear "selected user key is not registered on the remote host", then permission issues

8. Ali cloud remote connection server1572630049954

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)

12. get away!

Guess you like

Origin www.cnblogs.com/wen-xin/p/11829695.html