1, the priority of all articles published in the personal blog: https://www.xdx97.com
2, the follow-up if there are changes, it may forget to update the CSDN, for the inconvenience, sorry.
3, personal blog this article address: https://www.xdx97.com/article?bamId=645953780747075584
SSH default login port number is 22, but because the port number everyone knows, it is not safe.
Modify the connection port
vim /etc/ssh/sshd_config
Execute the following command to enter the directory ssh, ssh restart the service
systemctl restart sshd.service
If you need here is a cloud server security group to open it, you just set the port to open it.
https://blog.csdn.net/Tomwildboar/article/details/89295799