I am trying to look at failed SSH attempts, which I could do on a regular ubuntu machine by looking at /var/log/auth.log
.
I've taken a look at Debian - auth.log missing from /var/log and the WSL has no /etc/syslog.conf
nor does journalctl
return any entries.
Why does the WSL not have auth.log and how can I monitor SSH attempts?
/var/log/secure
? – Peschke May 15 '19 at 04:12service ssh start
– lostlostlostlostlost May 15 '19 at 06:08ssh
with-vvv
to get a detailed output can you see if it reports its logging? Alternatively, I have found this thread which appears related. – kemotep May 15 '19 at 13:51journalctl
– kemotep May 16 '19 at 12:42journalctl
turns up empty entries. I've restarted my ssh service with -vvv, but still can't find any logs. – lostlostlostlostlost May 17 '19 at 00:56