Search code examples
shellcloudibm-cloudcopy-paste

How to copy and paste clipboard contents from/into IBM Cloud Shell?


I would like to be able to copy and paste the contents of my clipboard, respectively, from and into IBM Cloud Shell. There are existing solutions that work for other cloud systems but none that specifically applies to the cloud and shell in question.

A naive approach to resolve this issue would be to try the Ctrl + c and Ctrl + v or Ctrl + Shift + c and Ctrl + Shift + v key combinations, i.e. the usual ways of copying and pasting contents. However, these do not work.


Solution

  • You should use:

    • Ctrl + Insert for copying and
    • Shift + Insert for pasting.

    The following approach should work on Chromium-based browsers and Firefox. Note that browsers commonly use Ctrl + c or Ctrl + Shift + c to let the user access the console. Beware that Firefox has a setting that limits the access to clipboard which may or may not prevent the above solution from being applicable.