I would like to disable ssh password authentication for my user account on a server where I don't have root priviledges, so that I can only log in via publickey authentication.
Everything I found on the topic involved changing /etc/ssh/sshd_config, which I can't do obviously.
Is this possible at all?
I found this answer to a similar question, but it's not clear to me whether it does what I want without side effects. And whether I can do it without sudo.
/etc/ssh/sshd_config, this is a Super User question. – Esa Jokinen May 18 '17 at 10:35