Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy
imageAttachmentIdatt2398355481
macroIdf4a37dc2-fe4e-4320-bac9-c5f581e525dd
baseUrlhttps://datamigrators.atlassian.net/wiki
nameMettleCI SSH Components
diagramAttachmentIdatt2398257169
containerId2396487711
timestamp1676613554903

In the diagram above the MettleCI Agent Host (described here) stores a private key file (named client.key in the diagram above) for which the public key equivalent (e.g. client.key.pub) is stored inside the ~/.ssh/authorized_keys file of the user account you are using to execute the MettleCI Workbench - typically mciworkb. This permits SSH connection between the MettleCI Agent Host and your DataStage Engine upon which the MettleCI Workbench is running. This connection is, most notably, required when using MettleCI commands from the Remote Namespace with the privateKey option.

Similarly, your DataStage Engine will store a private key file (an example of which is created during MettleCI installation - workbench.key) in the MettleCI installation directory - typically /opt/dm/mci. The the public key equivalent (e.g. workbench.key.pub) is shared with third party systems with which your DataStage engine needs to communicate - most commonly your Git and Work Item Management platforms.

MettleCI CLI

Some MettleCI CLI commands which communicate with the DataStage Engine tier are dependent upon the correct configuration of the mciworkb user's .ssh folder and its contents.

...

SSH may also be involved in MettleCI Workbench’s communication with Work Item Management and Git platforms. In these cases you will use a SSH key pair crated created on the DataStage Engine to form this connection. The public key will be supplied to the third party system which will use this when communicating with your DataStage Engine tier. You can either use the key pair created for you by the MettleCI installation process (workbench.key / workbench.key.pub) or create your own. The process varies from tool to tool, so please see the relevant MettleCI documentation for tools relevant to you.

...

See Also