(via www.susegeek.com)
xclip is a command line interface to the X11 selections (X11 clipboard). It can also be used for copying files, as an alternative to sftp/scp, thus avoiding password prompts when X11 forwarding has already been setup. xclip reads from Standard Input or from one or more files and copy it to the X11 clipboard making it available to the X applications.