I would like to make it so a user can only log in via their ssh keys.
Would I just change the x in /etc/passwd and the !! in /etc/shadow to an *?
I can't find the specifics online of how to do this, only that it is
possible to do so.