-
Notifications
You must be signed in to change notification settings - Fork 3
Command profile
Palo Alto Networks SSH Manager · vSSH CLI
Manage configuration profiles. A profile stores connection settings (service URL, username, templates, and more) so you do not repeat them on every command. See Working with configuration profiles for the concept and file layout.
Aliases: p, profiles
Subcommands: configure, list, show, set, delete.
Profiles are stored one file per profile under ~/.vssh/profiles/ on Linux and macOS, or %USERPROFILE%\.vssh\profiles\ on Windows. The directory is created with 0700 permissions.
Create or update a profile interactively. This is the fastest way to set up vSSH.
Aliases: c, conf, create, init
vssh profile configure [flags]
| Flag | Description |
|---|---|
--profile |
Profile name to create or edit. Defaults to default. |
--url |
Service URL. |
--user |
Username for authentication. |
--template-login |
Template used by vssh login. |
--template-enroll |
Template used by vssh certificate enroll. |
The command also accepts certificate flags (--principal, --extension, --source-address, --validity, --force-command, --key-id, --object-name, --folder, --destination-address, -o/--out-file) to pre-set enrollment defaults.
Note:
profile configureignores environment variables. It writes exactly what you enter.
vssh profile configure --profile env_dev --url https://tpp.example.com --user aliceList the available profiles.
Aliases: l, ls
$ vssh profile list
Available profiles:
default
env_devShow the settings stored in a profile. Without --profile, it shows the default profile.
Aliases: s
vssh profile show
vssh profile show --profile env_devSet one or more settings in a profile without the interactive prompts. Pass key=value pairs. Without --profile, it edits the default profile.
vssh profile set [key=value ...] [flags]
vssh profile set --profile env_dev url=https://tpp.example.com user=aliceThis is useful in setup scripts. To store an access token in a profile, prefer service token obtain --store-to-profile, which fetches and saves a token in one step.
Delete a profile.
Aliases: d, del, remove, r, rm
$ vssh profile delete --profile env_dev
? Do you want to delete profile with name 'env_dev'? Yes
Configuration profile 'env_dev' was deleted.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