LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 10-29-2009, 10:23 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS 5.2 / Debian /
Posts: 124
Thanked: 1
Too many authentication failures for user - ssh problem


[Log in to get rid of this advertisement]
Quote:
Received disconnect from xx.xxx.xx.xx: 2: Too many authentication failures for user
Does anybody knows what should I do with that command ?

How can I reset failures number on the server.


I have tried with faillog... doesnt work.


hellpp...
windows_xp_2003 dlugasx is offline  
Tag This Post , , , , ,
Reply With Quote
Old 10-29-2009, 07:01 PM   #2
alpha01
Member
 
Registered: Jul 2008
Location: Orange County
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 43
Thanked: 3
Not sure what you man by "I have tried with faillog... doesnt work." But you can try blocking that ip.

iptables -A INPUT -s XX.XX.XX.2 -j DROP
iptables -A OUTPUT -d xx.xx.xx.2 -j DROP
windows_xp_2003 alpha01 is offline     Reply With Quote
Old 10-30-2009, 12:01 AM   #3
edenCC
Member
 
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 167
Blog Entries: 1
Thanked: 1
As for my experience, use a non-standard SSH port is the easiest way to get rid of such noise...

Alternative ways can be used to block these bad eggs directly, e.g. fail2ban
windows_xp_2003 edenCC is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script that checks authentication failures and sends mail panoskan Programming 4 06-06-2009 06:24 PM
Too Amany Authentication Failures, when I ssh into a server thllgo Linux - Security 1 02-12-2009 04:47 PM
root Authentication failures baldur2630 Linux - Security 8 11-25-2008 01:47 PM
SSH authentication problem msteiner Linux - Software 6 04-05-2007 02:10 PM
SSH Authentication problem centaur Linux - Networking 1 08-30-2001 06:28 PM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration