Skip to main content

Replacing the Pre-Authentication Banner Message in SSH Sessions

Overview​

This article describes how to replace the pre-authentication banner message with a regular text output in Netwrix Privilege Secure for Access Management.

Instructions​

Complete the following steps:

  1. On all Privilege Secure servers, go to the following path: C:\ProgramData\Stealthbits\PAM\ProxyService\

  2. Optional: If the sbpam_ssh.json file is missing from the target directory, create it and follow these steps.

  3. Locate the sbpam_ssh.json file and edit it using a text editor.

  4. Add the following node to the file:

    {
    "listenaddress": "0.0.0.0:4422",
    "banner": "New text output from server for SSH sessions"
    }
  5. Optional: If the file contains any other data, place a comma before the opening brace. See the following example:

    ,{
    "listenaddress": "0.0.0.0:4422",
    "banner": "New text output from server for SSH sessions"
    }
  6. Save the changes.