Changes

Jump to navigation Jump to search
189 bytes added ,  13:27, 2 December 2015
no edit summary
== 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.
4,558

edits

Navigation menu