Đinh Văn Kiệt Đinh Văn Kiệt - 4 months ago 15
Linux Question

I can't access VPS Centos after change ssh port 22 to 2222

After change ssh port from 22 to 2222, I can't access into VPS.

How can I change port back to 22?

Centos 6.5, Plesk

Answer

You have to login to the machine somehow to change the port... how did you change the port? Do you have firewall that blocks connections on 2222? I assume you specified port ssh -p2222 to connect to?

Comments