Run `ssh-keygen` to create a key.
To SSH into VMs (EC2 instances, on-prem servers), you need a
key pair. The private key stays on YOUR machine; the public key gets
copied to the server's `~/.ssh/authorized_keys`.
TASK
----
In the terminal, run:
ssh-keygen -t ed25519 -f /home/user/.ssh/id_ed25519 -N ""
`-t ed25519` picks a modern fast algorithm; `-N ""` skips the passphrase
(only do that for throwaway keys!). Pass when the output mentions
"key fingerprint".
Sign in to save your code and track progress across devices.