Getting a Session's Details

Describes how to get details about a bastion session.

    1. Open the navigation menu and click Identity & Security. Click Bastion.
    2. Under List scope, select the compartment where the bastion was created.
    3. Click the name of the bastion that hosts the session that you want to view.
    4. Click Sessions.
    5. From the table, find the name of the session to view its details.
  • 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.