Đinh Văn Kiệt Đinh Văn Kiệt - 1 year ago 66
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 Source

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?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download