Pushing public keys

From thelinuxwiki
Jump to: navigation, search

how to push / upload a public key to a remote server

This could be automated in a script. Example:

cat .ssh/id_rsa.pub | ssh username@_remote_hostname 'cat >> .ssh/authorized_keys'