I’m following in Generating SSH Keys, it says
sudo apt-get install xclip
Downloads and installs xclip. If you don\'t have <
DISPLAY=:0 xclip -sel clip < ~/.ssh/id_rsa.pub didn't work for me (ubuntu 14.04), but you can use :
DISPLAY=:0 xclip -sel clip < ~/.ssh/id_rsa.pub
ubuntu 14.04
cat ~/.ssh/id_rsa.pub
to get your public key