I am trying to copy my public key on a VPS.
After I connect I run the following
xclip -sel clip < ~/.ssh/id_rsa.pub
Xclip gives me a can't open display error.
Right now I manually open the file and copy the key. There has to be a better, faster way to do this.
scp
instead to copy files from a remote server to your local machine or another server directly over ssh.