There are few tips here which will help you protect your vps against attacks:

1. Change SSH port :

    you can change it be logging into you server console with root privilages. 

Then type

and find line #22 and replace it with the port you want to be a ssh port

 

Now restart server by typing

 

2. Change phpmyadmin default url . You can do it in apache configuration file folder. In centos 7 with vesta cp installed the file is located in

 

edit it with command

and change Alias line

 

3. Keep On changing your account password with

Command in the interval of few months

 

Categories: How To

faltutech

Pursuing MCA from YMCA University, Faridabad

Leave a Reply

Your email address will not be published. Required fields are marked *

Read previous post:
In Unix/Linux, how do I kill another login session remotely(SSH)?

In Unix, how do I kill another login session remotely? You can kill a Unix/Linux login session remotely by sending a...

Close