Pivotal Knowledge Base


Common Error in Bosh command, "Please choose target first"


Pivotal Cloud Foundry® (PCF) 1.7.x and above


The purpose of this document is to explain what to do when the following error message is received when running Bosh commands.

$bosh login

Please choose target first


  • Please ssh onto your Ops Manager VM and run the following command.
  • bosh --ca-cert /var/tempest/workspaces/default/root_ca_certificate target <DIRECTOR-IP-ADDRESS>

Email: director
password: You can get the password from Operations Manager by navigating to Director Tile > Credentials tab > Director

Once connected you should them be able to run bosh commands like bosh vms

Additional Information

You can get the Directors IP by logging into the Ops Manager GUI and clicking on the Ops Manager Tile, Status tab.


Powered by Zendesk