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
| Parameter | Command / Description |
|---|---|
| Command name | rt ping |
| Abbreviation | rt p |
Command Options
| Option | Description |
|---|---|
--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 pingExample 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-1Example 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/artifactoryExample 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=mypasswordExample 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-tokenExample 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_rsaExample 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-passphraseExample 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.pemExample 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-tlsExample 10: Ping using the abbreviation
Pings the default Artifactory server using the command abbreviation.
jf rt pUpdated 8 days ago
