Generate Keypair

ssh-keygen

Remote Login with Key

ssh-copy-id <Host>@<Remote>

Disable Access via Password

modify /etc/ssh/sshd_config so that it includes

PasswordAuthentication no

enable changes

systemctl restart ssh