Listing the Sessions in a Bastion

Describes how to list the sessions in a bastion.

    1. Open the navigation menu and click Identity & Security. Click Bastion.
    2. Under List scope, select a compartment from the Compartment list.
    3. Click the name of the bastion that hosts the sessions that you want to view.
    4. Click Sessions.
  • Use the oci bastion session list command and required parameters to list the sessions in a bastion:

    oci bastion session list --bastion-id <bastion_ocid> [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ListSessions operation to list the sessions in a bastion.