• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Where is the SSH auth.log file?

L

Lecaramel

Guest
Hi!

I want to check my SSH users who tried to login, to see if someone is trying to enter on my server via brutforce.

But I can't find the SSH login log. Anybody know its location?

By the way, I changed the SSH port and make the root login impossible.

Thanks!
 
I believe the file you want is:
/var/log/secure

LogWatch generates an email report of this activity as well.
 
I don't have the secure directory ;)
I never had an email about an error with the login from watchdog, even when I did some mistakes :)
 
Back
Top