What does %h mean in SSHD configuration?
According to man 5 sshd_config
:
%h is replaced by the home directory of the user being authenticated
This means the file will be /home/user/.ssh/authorized_keys
. If the .ssh
directory is missing (which seems normal if not previously configured) you can create it and also the authorized_keys
file within and then populate the file's contents with your public key.