cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'

or

ssh-copy-id user@host

Tags:

Categories:

Updated: