albahtaar wrote:* I find it quite alarming to find PermitRootLogin option set to WithoutPassword by default, even though sshd needs to be authorized in the firewall settings.
How are sshd configuration details, and firewall rules related?
But anyways, just try to login via ssh
root@127.0.0.1 - it will not log you in with your password.
albahtaar wrote:* Where are the sshd logs if not in /var/log/secure (which is empty) ? Does the firewall redirect it to somewhere safer?
Again, what does firewall have to do with the logs? Seems you're confusing things here.
Logs are getting written to the journal, you can query them via e.g. for all log entries for this boot
- Code: Select all
journalctl -a -b -u sshd
You may need to add your user to the group if you don't want to get root to query the logs:
https://wiki.mageia.org/en/Mageia_4_Errata#journalctl