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
September 4, 2022
ssh-keygen
ssh-copy-id <Host>@<Remote>
modify /etc/ssh/sshd_config
so that it includes
PasswordAuthentication no
systemctl restart ssh