cannot log in after modifying the default port of a non-root user (- p 60000)
//
sudo vi /etc/ssh/sshd_config
cannot log in after modifying the default port of a non-root user (- p 60000)
//
sudo vi /etc/ssh/sshd_config
solved
cause of problem : Aliyun closes other ports by default
you need to create rules in the security group of Aliyun web management interface, as shown in figure
.
usually the SSH is connected through port 22. If you modify the DNS, you will definitely not be able to connect.