TECHIES WORLD

For Techs.... Techniques.... Technologies....

AWSBashCpanelLinux

How to disable login banner in Linux

Linux ssh login console displays a default banner with some informations about the server. Administrators can add more data to the banner if required.

This article explains the steps to disable the banner at user level.

Step1: Login to the server via ssh as required user.

Step2: Create a file with name ".hushlogin" in home directory.

#touch ~/.hushlogin

Login banner will not be displayed from next login session onward.

That's all…