22.3.3. Procedure – Using inband selection and nonstandard ports with PuTTY

The following steps provide instructions for establishing SSH connections with servers that are listening on a non-standard port (the Inband destination selection > Targets > Port option is not 22), and the port number targeted by the clients is also a non-standard port (the To > Port option of the Connection Policy).

  1. Enter the following in PuTTY:

    1. In the Host Name field, enter the username on the target server, the target server's hostname (or IP address) and port number, and the hostname (or IP address) of PSM in the <username>@<server>:<port>@<scb> format

    2. In the Port field, enter the port number of the PSM server

    Example: 

    Assuming the following values:

    • The username is training1

    • The target server is 192.168.60.100

    • The target server is listening on port 2121

    • The PSM server is scb

    • The PSM server is listening on port 4444

    You can enter the following destination hostname in PuTTY:

    training1@192.168.60.100:2121@scb

    Also change the destination port to the PSM server's port number:

    4444

    Figure 22.2. Configuring SSH inband destination for nonstandard ports in PuTTY

    Configuring SSH inband destination for nonstandard ports in PuTTY
  2. Alternative approach:

    1. Enter only the hostname (or IP address, depending on your configuration) and port number of PSM in PuTTY

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