Skip to content

Command line options

Atanas Chuchev edited this page Aug 24, 2026 · 4 revisions

Palo Alto Networks SSH Manager · vSSH CLI

Apache 2.0 License Compatible with TPP 23.1+

Command line options

In the vSSH CLI, command line options are global parameters you can use to override the default configuration settings, any corresponding profile setting, or environment variable setting for that single command. You can't use command line options to directly specify credentials, although you can specify which profile to use.

How to use command line options?

Most command line options are simple strings, such as the profile name my_profile in the following example:

$ vssh login --profile my_profile

Each option that takes an argument requires a space separating the argument from the option name. If the argument value is a string that contains a space, you must use quotation marks around the argument.

Where a value comes from

The same setting can be defined in several places. vSSH resolves each one in this order, highest priority first:

  1. A command line flag (for example --url).
  2. The matching environment variable (for example VSSH_URL).
  3. The active profile (default profile, --profile, or VSSH_PROFILE).
  4. The built-in default.

The first place that has a value wins. This lets you keep stable settings in a profile and override one of them for a single command without editing the profile.

Example: the profile sets a service URL, but you point one command at a different service:

vssh login --url https://tpp-staging.example.com

Full option reference

For the complete list of global flags, their defaults, and the environment variables that map to them, see Command reference. For the settings stored in a profile, see Working with configuration profiles.

Clone this wiki locally