I have a MOTD file that has the escape codes to clear the screen as the first line. The idea is that the user is presented with a clean screen and my MOTD.
^[[2J^[[;H
This is the message of the day...
Blah, blah, blah.
It works as expected. Now, I want to do the same thing with the banner...
I have a login banner that is displayed prior to password authentication via SSH.
This is what it currently looks like:
===================================================
This is a private system.
Only authorized users may access this system with their individually assigned user
accounts...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.