Click to See Complete Forum and Search --> : SSHD - Set Login Attempts (<:


kj6eo
02-02-2005, 02:57 PM
Gentlemen -

A long time ago I set my SSHD login attempts to 2. I now want to set them to 1 but I can't remember which file I modified to change the number of login attempts.

I want to make it as difficult as possible for the undesireables that continually try to guess my SSHD passwords. I don't know if somebody is trying to develop software to crack the SSHD passwords or not but I get allot of attempts like:

test, admin, guest, user, root, and allot of personal names. I put up an "I am watching you" banner on SSHD which scared allot of them away (>:

Any help you could offer would be greatly appreciated (>:

Regards,

Bill KJ6EO

kj6eo
02-02-2005, 02:58 PM
FYI - I am running RedHat v9.0 (>:

brockmasterflex
02-02-2005, 03:05 PM
try /etc/log.d/conf/services/sshd.conf

or locate sshd.conf ..... you may have set it in there

brock

kj6eo
02-02-2005, 03:28 PM
Thanks for your prompt reply. I made an extensive attempt to find out where the number of SSHD login attempts was set before I ask for help. I tried the path you suggested along with:

/etc/ssh/

ssh_config
sshd_config

Nothing there either ... maybe I am missing something?

Regards,

Bill KJ6EO

Alex Cavnar, aka alc6379
02-17-2005, 12:59 PM
This option seems to apply in the sshd_config file:

MaxAuthTries:
Specifies the maximum number of authentication attempts permitted per connection. Once the number of failures reaches half this value, additional failures are logged. The default is 6.

either that, or it's going to be some PAM config file related to SSH.