Skip to main content

Active SSH Private Key

This step sets up your SSH key in the build machine if you used one to connect your repository. This allows the build machine to connect to your private repository using your SSH key.

Prerequisites

caution

If you connect to your repository via SSH, use this step before the Git Clone step. To securely clone repositories connected via SSH, you must define the SSH key for the relevant build agent.

Input Variables

Below are the parameters required for this step, along with detailed explanations.

Variable NameDescriptionStatus
$AC_REPOSITORY_SSH_KEYSSH private key in RSA format. This value defaults to AC_REPOSITORY_SSH_KEY. It is automatically defined as the Reserved Environment Variables when an SSH connection is made.Optional

Output Variables

Variable NameDescription
$SSH_AUTH_SOCKThis is the path to the SSH Auth Socket.