ssh-copy-id -i ~/.ssh/.pub user@hostname.example.com

cat ~/.ssh/id_rsa.pub | ssh @ 'umask 0077; mkdir -p .ssh; cat >> .ssh/authorized_keys && echo "Key copied"'