Results 1 to 2 of 2

Thread: sshd port 22 renumbering or sshd limiting

  1. #1
    Member teddymills's Avatar
    Join Date
    Jul 2005
    Posts
    8

    Default sshd port 22 renumbering or sshd limiting

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads

  1. Replies: 4
    Last Post: 06-27-2011, 05:34 AM
  2. SSHD fails...
    By sam.tn in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 08-05-2008, 10:53 AM
  3. Replies: 2
    Last Post: 04-24-2008, 11:17 AM
  4. Changed sshd port problem
    By fuzzie in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 01-19-2006, 09:55 AM
  5. Cannot start sshd.
    By dzalbo in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-01-2005, 03:19 AM