3 days ago, my VPS got hacked by someone, and formatted my server. I buyed a new VPS, and with back-ups, I migrated my users to this new server. My new server seems to run perfectly.
But I can't find out how they got it anymore, they deleted all of my data. How do I make sure this can't happen again? I'm already running CSF+LFD, and have moved my SSH to a non-standard port. I'm also considering PubKeyAuth for root access now. But i'm still wondering how the hell this could happen. What can I do more to prevent this next time? Whay do you guys do, to secure your VPS? Im running CentOS 6.0 btw.
But I can't find out how they got it anymore, they deleted all of my data. How do I make sure this can't happen again? I'm already running CSF+LFD, and have moved my SSH to a non-standard port. I'm also considering PubKeyAuth for root access now. But i'm still wondering how the hell this could happen. What can I do more to prevent this next time? Whay do you guys do, to secure your VPS? Im running CentOS 6.0 btw.