ssh ed25519
ssh-keygen -t ed25519
cd ~/.ssh
cp id_ed25519.pub authorized_keys
chmod 700 authorized_keys
nano /etc/ssh/sshd_config
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no