I'm sshing into ArchLinux machine from Ubuntu. I want to be able to copy some text from Ubuntu and paste it into a file in Archlinux from terminal. xclip doesn't work for me, because I'm unable to set up X. Any suggestions?
Ideally what I want to be able to do is what I do under Ubuntu:
xclip -o > file.txt
Except without using xclip