Copy ssh keys without ssh-copy-id

I ran into this issue today so I thought that i would put a solution that I found on here. If you ever run into a situation in which you need to copy your ssh keys to another box but you dont have the handy dandy ssh-copy-id tool, the following one liner should work. Check out this oracle web page for more info.

cat ~/.ssh/ | ssh <USER>@<IP> 'cat >> .ssh/authorized_keys && echo "Done"'