On Linux, I can get sshd logs such as:
sshd Accepted publickey for user from xxx.xxx.xxx.xxx port xxx ssh2: RSA SHA256:.....
and send them to a remote syslog server by adding a file in
How can I get similar data on MacOS 10.14 (Mojave), and also have macOS send the data to a remote syslog server?
I can get the data I want using this command:
log stream --process sshd --info --predicate "messageType = 'info'"
Now need to figure out how to configure ASL (Apple System Logger).