VMware

Shell Namespace

Shell namespace provides commands Get/Set enabled state of BASH.

List of commands:



Set Command

dcli com vmware appliance access shell set

Description

Set enabled state of BASH, that is, access to BASH from within the controlled CLI.

Options

Option Name Type Required Description
enabled bool Yes Enabled can be set to true or false
timeout int Yes The timeout (in seconds) specifies how long you enable the Shell access. The maximum timeout is 86400 seconds(1 day).

Example

dcli com vmware appliance access shell set --enabled test --timeout test


Get Command

dcli com vmware appliance access shell get

Description

Get enabled state of BASH, that is, access to BASH from within the controlled CLI.

Example

dcli com vmware appliance access shell get