commands.sh

ssh-copy-id

all

Install your public key in a remote machine's authorized_keys.

More info →

Examples (3)

Copy your keys to the remote machine

ssh-copy-id username@remote_host

Copy the given public key to the remote

ssh-copy-id -i path/to/certificate username@remote_host

Copy the given public key to the remote with specific port

ssh-copy-id -i path/to/certificate -p port username@remote_host
made by @shridhargupta | data from tldr-pages