Focus on cloud service provider activities
Notes on website operation and maintenance

The server SSH port failure is sealed and the solution is to replace the SSH port

This problem was caused by a server failure of a netizen a few days ago, and 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 solve the problem. So I used the well-known foreign server according to the SSH information of the server provided by him. Lao Zuo failed 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 have failed.

Of course, before solving the problem, I will also solve whether the server security group is open. This service provider does not need to solve the security group. All ports are open. I doubt that the SSH port of his server is blocked. Or it happens that the port set by him belongs to the server officially prohibited. So we can only find a way to replace the SSH server port.

Here we must use the VNC remote login 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. I can modify it directly here. Then we can save it directly after modification.

/etc/init.d/ssh restart

Here we can restart SSH. Then we can log in to see if the problem can be solved. This old left man is also strange. Why is the SSH port blocked? Is it a coincidence or what he did.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » The server SSH port failure is sealed and the solution is to replace the SSH port


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge