Re: another ssh question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 10 August 2007 06:08:38 pm tony.chamberlain@xxxxxxxxx wrote:
> I was looking and at playing around with /etc/ssh/sshd_conf. What I want to
> do is after say 5 or so failed attempts to ssh, I want it to block ssh at
> least for a time (to keep people from hacking in). I uncommented anything
> that looked like it might do that, restarted sshd (even rebooted). Then I
> tried to ssh several times making up things for password: banana, orange,
> lemon, apple, etc. (the real password is nothing like that). I got through
> all the fruits and several vegetables and it still wasn't denied. When I
> finally entered the correct password it let me in right away.
>
> What is the correct way to block ssh attempts after several failed ones?

An easy way is to acomplish this, is to install the denyhosts package :

$ yum install denyhosts

You can configure a lot of settings in the /etc/denyhosts.conf file.


best regards

Teo Fonrouge

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux