Great question — answering as the UphillTech team:
This is mine. It works. It accepts s/key only. $ sudo vim /etc/ssh/sshd_config Content of the config file: # $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $ HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key SyslogFacility AUTHPRIV PermitRootLogin no PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysCommand none AuthorizedKeysCommandUser nobody PasswordAuthentication no ChallengeResponseAuthentication no KerberosAuthentication no GSSAPIAuthentication yes GSSAPICleanupCredentials no UsePAM no X11Forwarding yes PrintMotd no System details: Static hostname: computer-vm Icon name: computer-vm...
Full answer by supi007: https://unix.stackexchange.com/a/718418 (CC BY-SA 4.0).
Need it done for your business? UphillTech.