Friday, November 03, 2017

ssh-copy-id: add authorized_keys entry automatically


Copy authorized key to remote server:
ssh-copy-id -i ~/.ssh/id_rsa example.com

-i = private key associated with the public key that you would like to copy