If you are working with a source code versioning system such as github.com or Gitlab you may need to create a private and public keypair in order to clone your repositories within your workspaces.
To achieve this you may use the following command substituting the [CONTAINER ID] for your Eclipse Che workspace instance ID.
First within the Terminal pane of your workspace generate a keypair if one doesn’t already exists using the ‘ssh-keygen’ command.
Once the keypair is created run this command from your docker host.
`$ docker exec [CONTAINER ID] cat /home/user/.ssh/id_rsa.pub`