How to copy files between hosts over the network using SSH + tar

It's quite simple, but I tend to forget some of the switches involved in the proper command line. So here it is:
tar -cf - /some/file | ssh host.name tar -xf - -C /destination


Of course you can add a number of options to tar like -z or -j for compression. Or you could use SSH's compression too.

P.S.: I got the above syntax from this page at Crucial Paradigm, but you'll most probably find the same at a thousand other sites.