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 "server@domain.com"
Next, to configure Artifactory for SSH authentication, go to the Administration module, select Artifactory | Security | Keys Management and click the SSH Keys tab.
Fill in the details for the Server Settings and the Server Keys.
Server Setting
Description
Enable SSH Authentication
When checked, SSH authentication is enabled.
Port
The port that should be used for an SSH connection.
Custom URL Base
The Custom Base URL that should be used for SSH connections. Note that this is the same Custom URL Base configured in the Administration module under Configuration | General.
Public key/ Private key
The key pair used for authentication.