mkdir -p ~/.ssh chmod 700 ~/.ssh ssh-keygen
PasswordAuthentication no PubkeyAuthentication yes
systemctl restart sshd