Linux Certification

How to Enable SSH Banner in Ubantu

by lpilinuxblog on Mar.21, 2010, under Linux How to

After login you can have the contents of a “banner” file displayed on the user’s screen.

* Open up the sshd configuration file:

sudo gedit /etc/ssh/sshd_config

* Find:

#Banner /etc/issue.net

* Replace:

Banner /etc/issue.net

* Edit the issue.net file to contain what you want displayed:

sudo gedit /etc/issue.net

* Add what you want:

_
___ _ _ ___ _____ ___| |___
| -_|_’_| .’| | . | | -_|
|___|_,_|__,|_|_|_| _|_|___|
|_|
Welcome to my server

* Restart SSHD:

sudo /etc/init.d/ssh restart

  • Share/Bookmark

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...