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 Sessions.
    3. Select the session that you want to view.

      The session details page opens and displays information about the session.

  • 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.