Difference between revisions of "Pushing public keys"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 16:27, 12 April 2013

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'