echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJiYV8m9zKq6cQd2sEaXzWmRgTnBvLpNhJfCk3HtQa laptop' >> ~/.ssh/authorized_keys

Category: VPS Management

echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJiYV8m9zKq6cQd2sEaXzWmRgTnBvLpNhJfCk3HtQa laptop' >> ~/.ssh/authorized_keys

Add your public SSH key to authorized_keys to enable passwordless login

Paste your public key (from ~/.ssh/id_ed25519.pub on your local machine) here. After this, SSH will accept your private key instead of asking for a password.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.