-
Notifications
You must be signed in to change notification settings - Fork 3
Command line options
Palo Alto Networks SSH Manager · vSSH CLI
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.
Most command line options are simple strings, such as the profile name my_profile in the following example:
$ vssh login --profile my_profileEach 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.
The same setting can be defined in several places. vSSH resolves each one in this order, highest priority first:
- A command line flag (for example
--url). - The matching environment variable (for example
VSSH_URL). - The active profile (default profile,
--profile, orVSSH_PROFILE). - 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.comFor 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.
Palo Alto Networks SSH Manager · vSSH CLI. Licensed under the Apache License, Version 2.0. To report a problem or share an idea, use Issues.
Getting started
Configuration
Authentication
Guides
Tutorials
- Interactive user access
- Machine identity for apps and hosts
- CI/CD pipeline enrollment
- Enroll for interactive logins
- Enroll for an application or host
- Renew a certificate
- Retrieve SSH CA public keys
Command reference
- Overview and global options
- login
- logout
- certificate
- profile
- service
- openssh
- status
- update
- version
- help
Reference