22.3.2. Procedure – Using inband destination selection with OpenSSH

To establish an SSH connection through PSM, follow these steps:

  1. Enter the following command:

    # ssh <username>@<server>@<scb>

    ...where <username> is the username, <server> is the target server's hostname (or IP address), and <scb> is the hostname (or IP address) of PSM

    Example: 

    Assuming the following values:

    • The username is training1

    • The target server is linux.training.balabit

    • The PSM server is scb

    You can enter the following command:

    # ssh training1@linux.training.balabit@scb

  2. Alternative approach:

    1. Enter only the hostname (or IP address, depending on your configuration) of PSM:

      # ssh <scb>

    2. At the login prompt, provide the username on the target server, and the target server's hostname (or IP address) using the <username>@<server> format