I don't really know exactly what you are trying to accomplish. Check out the following article and see if it helps: Remotely transferring clipboard data using netcat and bash
Update: If you are using OSX, try using pbcopy & pbpaste to copy and paste data from the clipboard.