ssh-copy-id user@server-ip
Category: Self-Hosting
ssh-copy-id user@server-ip
Copy your local public key to a remote server's authorized_keys — enables passwordless SSH login
Copies your local public key to the remote server's ~/.ssh/authorized_keys file. After this, you can SSH in without a password.