== One-liner ==
<source lang="bash">
ssh-copy-id -i ~/.ssh/id_rsa.pub -o IdentitiesOnly=true admin@qbucket
# ssh-copy-id is essentially equivalent to cat ~/.ssh/id_rsa.pub | ssh admin@qbucket "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"# now you can just ssh, and your key will let you in
ssh admin@qbucket
</source>
</source>
== Troubleshooting ==
Check <code>/var/log/auth.log</code> on the remote server for details if this doesn't work as expected.