The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sshd port 22 renumbering or sshd limiting

Discussion in 'General Discussion' started by teddymills, Jul 29, 2005.

  1. teddymills

    teddymills Member

    Joined:
    Jul 25, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I would like to change SSHD from port 22 to another port. that is under 1024.
    Because people keep hammering away on port 22.

    If that is not good, then how can I change it so that SSHD limits users to waiting 5 minutes after 3 bad login attempts?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Changing the port is a good idea. You really ought to use an ephemeral port (i.e. >1024) and you can do that in /etc/ssh/sshd_config then restart sshd. Remember to open the port if you use a firewall.
     
Loading...

Share This Page