SSH keys instead of passwords

Create a key, add it to the cabinet, log in without a password

ssh-keygen -t ed25519 -C "my-laptop"
cat ~/.ssh/id_ed25519.pub

Add the public key in Settings → SSH keys; pick it when ordering or reinstalling. For a running server: ssh-copy-id root@<IP>.

Disable password logins once the key works:

sed -i 's/^#\?PasswordAuthentication .*/PasswordAuthentication no/' /etc/ssh/sshd_config && systemctl restart ssh

Updated