Backup E-mails!   Data Recovery   Avast Antivirus Pro!

Thu
13
Mar
ITAdvisor

Hello Loyal readers,

Today I would like to give you a good tip for linux security. A lot of servers are compromised due to brute force attacks on users credentials, using default services, like ssh - which if you didn’t know is the remote management console. There is no one specific way to change a banner on this program, however there is a few tips that could get you started in the right direction.

We can make changes to the config file by opening /etc/ssh/sshd_config in your favorite text editor, mine is VIM!

Change the default login port.

Port 22 change to a higher port, say 5678

Change  Authentification

PermitRootLogin no

Make sure there is NO clear text password being accepted or sent.

PasswordAuthentication yes

Use PAM authentification:

UsePAM yes
Also set this:

ChallengeResponseAuthentication no

AS for basic security of ssh, you should be ok now. You now need to restart your sshd  /etc/init.d/./ssh restart

Best Regards,

TheITAdvisory



Author:
ITAdvisor
Time:
Thursday, March 13th, 2008 at 1:03 pm
Category:
DIY, Linux, Network Security
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply

You must be logged in to post a comment.