When transferring small bits of text to another machine, I used to use email. Then my email would fill up with annoying little bits of text. The following Terminal command will transfer the text from the clipboard a computer that can be reached by ssh. This method only transfers plain text, but that is 90% of my needs. (If anyone figures out formatted text or pics, let me know!)
In Terminal, type this:
pbpaste | ssh user@hostname 'pbcopy'
Alternatively, I might want to keep the text in a file on the distant computer. This works for that purpose:
pbpaste | ssh user@hostname 'cat > ~/file_name.txt'
[robg adds: For true clipboard sharing between machines, I'm partial to PTHPasteboard Pro, whichh makes it simple to keep two or more machine's clipboards in sync -- text and graphics are both handled with ease. There are numerous other solutions out there, too, such as DropCopy (which is also very useful for transferring files).]
Mac OS X Hints
http://hints.macworld.com/article.php?story=20090918110107381