how do find all failed login attempts via ssh?

Answer Posted / anoop

The command is ,

cat /var/log/messages | grep "Failed password"

it will show all the user which is not able to login.

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find cpu in linux?

523


Explain grep command.

591


You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

584


What make install does?

506


What is makefile in unix?

536






How compile c++ program in cmd?

599


What is the difference between cd and cd in linux?

510


What is the use of cp p command?

563


How do you copy in linux terminal?

516


What are the 4 kinds of sentences with examples?

582


What is difference between free and available memory in linux?

506


What does touch do in linux?

512


What is the use of ls command?

487


What do you mean by directory?

550


Explain about refer?

534