Command to send public key to remote host

Viewed 41236

I remember there is a command to send public key to the remote host that I want. I want to use that feature to send one of my public keys to the other host. How can I do that?

4 Answers

In other answers there's no example for ssh-copy-id so here it is(first you need to generate the key)

ssh-copy-id user@url
Related