Verify Artifactory Accessibility

Use this command to verify Artifactory is accessible by sending an application ping.

When to Use this Command

  • Verify connectivity when configuring Artifactory for the first time
  • Diagnose connection issues before running other JFrog CLI commands
  • Test authentication credentials without performing actual operations
  • Confirm Artifactory availability in CI/CD pipelines or monitoring scripts

Command Parameters

ParameterCommand / Description
Command namert ping
Abbreviationrt p

Command Options

OptionDescription
--url[Optional] JFrog Platform URL. (for example: https://acme.jfrog.io)
--server-id[Optional] Server ID configured using the jf config command. If not specified, the default configured Artifactory server is used.
--user[Optional] JFrog username.
--password[Optional] JFrog password.
--access-token[Optional] JFrog access token.
--ssh-key-path[Optional] SSH key file path.
--ssh-passphrase[Optional] SSH key passphrase.
--client-cert-path[Optional] Client certificate file in PEM format.
--client-cert-key-path[Optional] Private key file for the client certificate in PEM format.
--insecure-tls[Default: false] Set to true to skip TLS certificates verification.

Command Arguments

The command accepts no arguments.


Accessibility Parameter Examples

Example 1: Ping Default Server

Pings the configured default Artifactory server.

jf rt ping

Example 2: Ping a specific server by ID

Pings the configured Artifactory server with the ID rt-server-1.

jf rt ping --server-id=rt-server-1

Example 3: Ping a specific server by URL

Pings the Artifactory server accessible at the specified URL.

jf rt ping --url=https://my-rt-server.com/artifactory

Example 4: Ping with username and password authentication

Pings the Artifactory server using username and password credentials.

jf rt ping --url=https://acme.jfrog.io/artifactory --user=myuser --password=mypassword

Example 5: Ping with access token authentication

Pings the Artifactory server using an access token.

jf rt ping --url=https://acme.jfrog.io/artifactory --access-token=your-access-token

Example 6: Ping with SSH key authentication

Pings the Artifactory server using SSH key authentication.

jf rt ping --url=ssh://artifactory.mycompany.com:1339 --ssh-key-path=~/.ssh/id_rsa

Example 7: Ping with SSH key and passphrase

Pings the Artifactory server using an encrypted SSH key.

jf rt ping --url=ssh://artifactory.mycompany.com:1339 --ssh-key-path=~/.ssh/id_rsa --ssh-passphrase=your-passphrase

Example 8: Ping with client certificate (mTLS)

Pings the Artifactory server using mutual TLS authentication with client certificates.

jf rt ping --url=https://acme.jfrog.io/artifactory --client-cert-path=/path/to/client-cert.pem --client-cert-key-path=/path/to/client-key.pem

Example 9: Ping with insecure TLS (skip certificate verification)

Pings the Artifactory server while skipping TLS certificate verification. Use only for testing or in trusted environments.

jf rt ping --url=https://my-rt-server.com/artifactory --insecure-tls

Example 10: Ping using the abbreviation

Pings the default Artifactory server using the command abbreviation.

jf rt p

What’s Next

Connection verified. Now upload your first file to Artifactory.