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

Which command is used to review boot messages?

800


What language is clang written in?

685


How do you execute more than one command or program from a single command line entry?

768


What would be the result of the command paste -s dog cat?

758


What do you mean by directory?

764


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

755


How many types of commands are there in linux?

796


What does (cd dir && command) do?

749


Which are the linux directory commands?

767


What is difference between sh and bash?

762


What are the command prompt commands?

757


How do I run a .sh file in linux?

825


How do you run a command for a limited time?

789


Which command will show you free/used memory? Does free memory exist on linux?

781


What does kill in linux?

738