mkdir ~/.ssh cd ~/.ssh ssh-keygen -t ed25519 mv id_ed25519.pub authorized_keys chmod 700 ../.ssh chmod 600 * cd