Skip to main content

How to Replace Pre-authentication Banner Message in SSH Sessions

Overview

This article covers steps to replace the pre-authentication banner message with a regular text output in Netwrix Privilege Secure.

Instructions

Refer to the following steps:

Save the changes.

  1. On all Netwrix Privilege Secure servers, navigate 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 the steps below.
  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"
}
  1. Optional: In case the file contains any other data, place a comma before the opening brace. Refer to the following example:
,{
"listenaddress": "0.0.0.0:4422",
"banner": "New text output from server for SSH sessions"
}

Save the changes.