Tuesday, December 28, 2021

[SOLVED] Copy file contents to the clipboard in Linux terminal

Issue

I'm generating an SSH key but I don't know how to copy the key from id_rsa.pub to the clipboard. I'm using BackBox Linux.


Solution

You can use:

cat ~/.ssh/id_rsa.pub

I hope that help you, if not:

Set up SSH for Git and Mercurial on Mac OSX/Linux



Answered By - william.bonilla