How to change ssh port with csf?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
I installed CSF on my VPS and I want to change ssh port with csf? how can I do that? any guide?
 

24x7CSM

Well-known member
Registered
Joined
Sep 27, 2016
Messages
263
Points
28
login to your server with root >> edit /etc/ssh/sshd_config with your favorite editor either nano or vi >> find the line port in the config file >> you will the default port set there 22 >> change that number to your desire port number e.g.1022 >> save the file and restart the sshd service .

Once thats done edit the /etc/csf/csf.conf file and in incoming ports section add the 1022 , reload the csf or restart the csf service.
 
Older Threads
Latest Threads
Replies
0
Views
19
Replies
1
Views
37
Replies
0
Views
226
Replies
1
Views
48

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top