Copy SSH key to clipboard in Ubuntu
If you have landed here it means you have been somehow frustrated trying to copy paste something in Ubuntu console - just a guess - its the rsa key since its too long to type manually.
Well, here is how to do it:
Make sure the rsa key exists, type the following command should work on almost all versions of Ubuntu
cat ~/.ssh/id_rsa.pub
Another method is you can use PuTTy, just by opening the public key file and selecting your text with the left mouse button to manually copy paste.
Well, here is how to do it:
Make sure the rsa key exists, type the following command should work on almost all versions of Ubuntu
cat ~/.ssh/id_rsa.pub
Another method is you can use PuTTy, just by opening the public key file and selecting your text with the left mouse button to manually copy paste.
No comments: