How to copy SSH public key to server
Mostly used for passwordless
SSH login; there are a few methods to copy your
SSH public key to the SSH server.
Manually append the content of your public key file (normally
~/.ssh/id_rsa.pubto the server’s
Using the following simple
$ cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> ~/.ssh/authorized_keys