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.
- On all Netwrix Privilege Secure servers, navigate to the following path:
C:\ProgramData\Stealthbits\PAM\ProxyService\ - Optional: If the
sbpam_ssh.jsonfile is missing from the target directory, create it and follow the steps below. - Locate the
sbpam_ssh.jsonfile and edit it using a text editor. - Add the following node to the file:
{
"listenaddress": "0.0.0.0:4422",
"banner": "New text output from server for SSH sessions"
}
- 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.