TOOL » LINUX » SSH
Ssh copy id
Goal
Login to a remote server using a SSH key.
Usage
The requirement is that you already generated ~/.ssh/id_rsa key.
Run this from your local machine:
shell
ssh-copy-id user@servernameManual installation
Copy the contents of ~/.ssh/id_rsa.pub from your local machine, and append to the last line of the ~/.ssh/authorized_keys of the remote server.
For Windows machines, see this note.