Hands-on task
Create an SSH key
To log in to servers without a password, you need your own SSH key — a pair of a private and a public key.
Create a key pair of type ed25519 in the standard location: the private key is /root/.ssh/id_ed25519, the public one is /root/.ssh/id_ed25519.pub. Set a passphrase or leave it empty — up to you.
- ssh-keygen
- ed25519
- private and public key
- ~/.ssh