Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am running RHEL with SSH Server configured for remote access.
Recently when I tried to login from MAC terminal, I got error "too many authentication failure for user abcd@abcd-system : disonnected"
however, when I login using same prefrences from windows using Putty, It works fine.
for both cases I am using password for login, not keys..! so increasing no. of authentication tries wont work....
I am stuck, Please help me out of this
Thanks In advance.
when I login from MAC terminal /var/log/secure says:
"Feb 2 09:43:56 adcd-system sshd[1737]: Disconnecting: Too many authentication failures for abcd"
but after that when I connected using Putty terminal, it says:
"Feb 2 09:47:39 abcd-system sshd[1740]: Accepted password for abcd from 192.168.22.200 port 5130 ssh2
Feb 2 09:47:39 abcd-system sshd[1740]: pam_unix(sshd:session): session opened for user abcd by (uid=0)"
When you say "MAC terminal", are you referring to the OSX Terminal app?
If so, it sounds like you may have configured it to automatically log in as the user (and with the wrong password).
I do not know if had mistakenly configured it for automatic login with username and password ....
How to fix it now...!besides, I write the ssh command with username to connect
when I login, connection dies even does not ask for password ....saying 'too many authentication failures':session closed.
I have also set the RHEL ssh server to accept login attempt using password only.
Still the same problem.
the problem was my SSH agent not presenting the appropriate key for authentication, so after number of tries,when it does not get the desired key it returns error 'too many authentication failures'..
well this is awkward but all the way it is fixed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.