To configure SSH authentication, you need to execute the following main steps:
In this step you will configure Artifactory's SSH authentication parameters. First you need to generate an SSH key pair for Artifactory. For example, on a Linux-based system, you could execute the following command:
ssh-keygen -t rsa -C "email@example.com"
Then, to configure Artifactory for SSH authentication, in the Admin module, select Security | SSH Server and fill in the required fields.
Enable SSH Authentication
|When checked, SSH authentication is enabled|
|The port that should be used for an SSH connection|
Custom URL Base
|The Custom URL Base that should be used for SSH connections. Note that this is the same Custom URL Base configured in the Admin module under Configuration | General.|
Public key/Private key
|The key pair used for authentication|
First, you need to generate a key pair. For example, on a Linux-based system, you could execute the following command:
ssh-keygen -t rsa -C "USER@domain.com"
Your public and private keys should be created under the
Update your public key under the SSH section of your User Profile.
To configure your Git LFS client, please refer to Authenticating with SSH.
To configure the JFrog CLI, please refer to Authenticating with RSA Keys.