Getting a Session's Details

Describes how to get details about a bastion session.

    1. On the Bastions list page, select the bastion that hosts the session that you want to work with. If you need help finding the list page or the bastion, see Listing Bastions.
    2. On the details page, select the Sessions tab or link.

      Details for each session in the selected bastion are displayed in a table.

  • Use the oci bastion session get command and required parameters to get the details of a bastion session:

    oci bastion session get --session-id <bastion_session_ocid> [OPTIONS]

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

  • Run the GetSession operation to get the details about a bastion session.