Last update at :2024-07-14,Edit by888u
This problem is caused by a server failure of a netizen a few days ago, but his website project can run normally. But when he was about to log in to SSH, he found that he could not connect, so he hoped to find a solution. So I based on the server SSH information he provided, and the server used a relatively well-known foreign server. Snail was still unable to log in after resetting the SSH password in the background of his server. It can be seen that the SSH port of the current server may be faulty.
Of course, before I solve the problem, I also check whether his server security group is open. This service provider does not need to check the security group. All its ports are open. I suspect that his server SSH port is blocked. Or it happens that the port he set himself belongs to an officially banned server. So we can only find a way to change the SSH server port.
Here we must log in remotely through the VNC provided by the server, and then set the remote port of the server.
Here we can see the remote port of the server currently set by him, and I will modify it directly here. Then we save it directly after modifying it.
/etc/init.d/ssh restart
Here we can restart SSH. Then we log in again to see if the problem can be solved. This snail is also quite strange personally. Why is the SSH port also blocked? Is it a coincidence or does he do something on his own?
Recommended site searches: Hong Kong server rental, server, Hong Kong space, permanent free space, expired domain name query, same IP website query, cheap virtual host, shopex virtual host, server purchase, high-defense server,
发表评论