Help - Search - Members - Calendar
Full Version: How to change SSH login port
The Planet Forums > Control Panels > cPanel/WHM > Cpanel/WHM HOWTOs
goodman
Hi, there,

I want to chaneg my SSH login port from 22 to 222.

How to do that. I searched the forum but cannot find it.

Thanks
theuruguayan
QUOTE (goodman @ Mar 10 2009, 09:09 PM) *
Hi, there,

I want to chaneg my SSH login port from 22 to 222.

How to do that. I searched the forum but cannot find it.

Thanks


You can do this to change : /etc/ssh/sshd_config

Open the Port 22 to port 222.

Then restart sshd

Make sure you allow port 222 in the firewall.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.