Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: fosiul01Posted on 2009-08-06 at 07:37:36ID: 25033883
1. If you think if your server has been compromised by a hacker, you should immiditely remove that server from network
2. build the server from scratch . because you would not know if the hacker put some script on theserver or not so, even if you deleted that accouout that hacker woudl be able to compromised your server again. So Build your server again from scracth.
3. that hacker must of knowen your root password or he cracked the root password, so affter build the server, give the root password a strong pasword , As complex as you can
4. in sshd_config, use, root permit =No, so no body would be able to login to the server as Root
5. Always use your own login name to login the server by sshd, then use su to root to get root access.
5. Or, put your username in sudofile and give it minimum administrative priviliges to do normal work,if you need more priviligies use su commadn to go back as root
6. best options is, Use RSA base authentication and disable password base autentication, so only by using key you would be able to login to server, and password base authentication woudl not allow
last : build your server from scratch