I follow the Github instructions for adding an SSH key . I generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step where I can copy the contents of the file using xclip because I cannot install xclip on the EC2 instance.
sudo yum install xclip
So how to install xclip on a 64-bit Amazon Linux AMI 2012.09?
You do not need xclip. Just ssh into the EC2 instance and cat key to your terminal, then copy and paste it from your terminal to where you need it.
ssh
cat
I don't want to wake up zombies, but if someone still wonders if you can wget rpm (i.e. from here ) and then
wget
sudo yum localinstall my-wget.rpm
Note. you may need to do the same for some dependencies.