Generate an ssh key pair

ssh-keygen -t ed25519 -C “comment”

“comment” could be something like “laptop” or a date

ssh-keygen -t ed25519 -C “ryzen_pc_nov2024”

The generated key pair will be in ~/.ssh

Copy the public key to another machine:

ssh-copy-id [email protected]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *