klanomath's answer belowcomment
Especially UsePAM has to be set to no. The settings of the following 4yo sshd_config should still work in 10.13: SSH config that is password lessSSH config that is password less – klanomath 2 hours ago
Seems to work. Never had to do that on Linux systems. Many thanks!