Using the desktop clipboard in a terminal is easy, handy on occasion 🙂
xsel --clipboard < set-clipboard-contents.txt xsel --clipboard > output-clipboard-contents.txt cat ~/.ssh/id_rsa.pub | xsel --clipboard
I created an alias to make it easier and use it from time to time.