This article explains how you can run Bash Command from the BOSH command line utility.
Note that to run the following commands, administrative access to your Pivotal Cloud Foundry Application Service deployment via the BOSH CLI is required. For more information on configuring the BOSH CLI, please click here.
You can run Bash Commands via BOSH SSH by using the following syntax:
For example:
Note: You will need to include the full path with your command as shown above (/var/vcap/bosh/bin/).
Authentication: When running BOSH SSH commands, you will be authenticated using a temporary username and password provided by BOSH. You will not need to provide any additional username or password when running your commands as you will have authenticated already with BOSH.
For more information on configuring the BOSH CLI, please click here.
https://bosh.io/docs/bosh-cli.html