0

Where are my sshd logs is placed.

hi..,

please guide me, where the ssh logs stored exactly and how to view ssh logs in centos.

SSH Add a comment
luke
asked Aug 29 2017

Answer

0

By default ssh log file is located in /var/log/secure.... here you can check the ssh logs... Another simple method to check ssh logs by executing journalctl -u sshd | tail -10.... make sure journal commands works only Centos 7 and higher versions.

Add a comment
karthikeyan
asked Aug 29 2017
edited Oct 05 2018
Post your Answer