Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EOL/EOE] [NSM] Applying a login banner on NSM and NSMXpress appliance



Article ID: KB27040 KB Last Updated: 24 Nov 2020Version: 3.0
Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.
This article shows how to create a banner on NSM and the NSMxpess appliance when you need to deliver pre-log in messages to users logging in.
To create a pre-login banner for users of NSM and NSMXpress appliance.
These are the steps required to create a banner for delivery of pre-log in messages:


  1. Log in as root user and create a new banner file:

    # vi /etc/ssh/sshd-banner
  2. Open the sshd configuration file using a text editor:

    # vi /etc/ssh/sshd_config
  3. Add the path of the banner file:

    Banner /etc/ssh/sshd-banner
  4. Save the file and restart the sshd server:

    # /etc/init.d/sshd restart
  5. Test the login banner.
Modification History:

2020-11-24: Tagged article for EOL/EOE.


Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search