Using Publickey and disabling password access

Sorry if this question is obvious.

How do I disable password access to my ThinLinc server, and instead make it only accessible with Publickey? I would like to improve the security of my server.

Thanks

Hello @Pandananana

This must be configured in your sshd_config file. What you’d like to do is to disable PasswordAuthentication and only allow PubkeyAuthentication.

Regards,
Martin

Thank you very much @martin. That worked!